提交 7d1d8ce5 编写于 作者: M Mark Brown 提交者: Kukjin Kim

ARM: S3C64XX: Dynamically allocate the IRQ range for WM8994 on Cragganmore

Use the new irqdomain support in the WM8994 driver to dynamically allocate
the interrupt range for the WM8994 rather than doing it explicitly. This
is more idiomatic for modern interrupt usage.
Signed-off-by: NMark Brown <broonie@opensource.wolfsonmicro.com>
Signed-off-by: NKukjin Kim <kgene.kim@samsung.com>
上级 9b6e1b0e
...@@ -15,7 +15,6 @@ ...@@ -15,7 +15,6 @@
#define BANFF_PMIC_IRQ_BASE IRQ_BOARD_START #define BANFF_PMIC_IRQ_BASE IRQ_BOARD_START
#define GLENFARCLAS_PMIC_IRQ_BASE (IRQ_BOARD_START + 64) #define GLENFARCLAS_PMIC_IRQ_BASE (IRQ_BOARD_START + 64)
#define CODEC_IRQ_BASE (IRQ_BOARD_START + 128)
#define PCA935X_GPIO_BASE GPIO_BOARD_START #define PCA935X_GPIO_BASE GPIO_BOARD_START
#define CODEC_GPIO_BASE (GPIO_BOARD_START + 8) #define CODEC_GPIO_BASE (GPIO_BOARD_START + 8)
......
...@@ -168,7 +168,6 @@ static struct wm8994_pdata wm8994_pdata = { ...@@ -168,7 +168,6 @@ static struct wm8994_pdata wm8994_pdata = {
.gpio_defaults = { .gpio_defaults = {
0x3, /* IRQ out, active high, CMOS */ 0x3, /* IRQ out, active high, CMOS */
}, },
.irq_base = CODEC_IRQ_BASE,
.ldo = { .ldo = {
{ .init_data = &wm8994_ldo1, }, { .init_data = &wm8994_ldo1, },
{ .init_data = &wm8994_ldo2, }, { .init_data = &wm8994_ldo2, },
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册