From: Martin Kaiser Date: Tue, 12 Sep 2017 08:34:15 +0000 (+0200) Subject: mfd: fsl-imx25: Set irq handler and data in one go X-Git-Tag: v4.19~2171^2~11 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=f132bc3f301efad6762d62a2aa2ad7b0caa8cbf0;p=platform%2Fkernel%2Flinux-rpi.git mfd: fsl-imx25: Set irq handler and data in one go Replace the two separate calls for setting the irq handler and data with a single irq_set_chained_handler_and_data() call. Signed-off-by: Martin Kaiser Signed-off-by: Lee Jones --- diff --git a/drivers/mfd/fsl-imx25-tsadc.c b/drivers/mfd/fsl-imx25-tsadc.c index b3767c3141e5..14189efd70d0 100644 --- a/drivers/mfd/fsl-imx25-tsadc.c +++ b/drivers/mfd/fsl-imx25-tsadc.c @@ -84,8 +84,7 @@ static int mx25_tsadc_setup_irq(struct platform_device *pdev, return -ENOMEM; } - irq_set_chained_handler(irq, mx25_tsadc_irq_handler); - irq_set_handler_data(irq, tsadc); + irq_set_chained_handler_and_data(irq, mx25_tsadc_irq_handler, tsadc); return 0; }