diff options
Diffstat (limited to 'drivers/mfd/wm8350-irq.c')
-rw-r--r-- | drivers/mfd/wm8350-irq.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/drivers/mfd/wm8350-irq.c b/drivers/mfd/wm8350-irq.c index ba966ae88dc3..5839966ebd85 100644 --- a/drivers/mfd/wm8350-irq.c +++ b/drivers/mfd/wm8350-irq.c @@ -419,14 +419,14 @@ static irqreturn_t wm8350_irq(int irq, void *irq_data) static void wm8350_irq_lock(struct irq_data *data) { - struct wm8350 *wm8350 = data->chip_data; + struct wm8350 *wm8350 = irq_data_get_irq_chip_data(data); mutex_lock(&wm8350->irq_lock); } static void wm8350_irq_sync_unlock(struct irq_data *data) { - struct wm8350 *wm8350 = data->chip_data; + struct wm8350 *wm8350 = irq_data_get_irq_chip_data(data); int i; for (i = 0; i < ARRAY_SIZE(wm8350->irq_masks); i++) { @@ -444,7 +444,7 @@ static void wm8350_irq_sync_unlock(struct irq_data *data) static void wm8350_irq_enable(struct irq_data *data) { - struct wm8350 *wm8350 = data->chip_data; + struct wm8350 *wm8350 = irq_data_get_irq_chip_data(data); struct wm8350_irq_data *irq_data = irq_to_wm8350_irq(wm8350, data->irq); @@ -453,7 +453,7 @@ static void wm8350_irq_enable(struct irq_data *data) static void wm8350_irq_disable(struct irq_data *data) { - struct wm8350 *wm8350 = data->chip_data; + struct wm8350 *wm8350 = irq_data_get_irq_chip_data(data); struct wm8350_irq_data *irq_data = irq_to_wm8350_irq(wm8350, data->irq); |