From: Lucas Stach <l.stach@pengutronix.de>
To: Martin Kaiser <martin@kaiser.cx>
Cc: Lee Jones <lee.jones@linaro.org>,
kernel@pengutronix.de, linux-kernel@vger.kernel.org
Subject: Re: [PATCH v2 1/2] mfd: fsl-imx25: set irq handler and data in one go
Date: Tue, 19 Sep 2017 10:17:35 +0200 [thread overview]
Message-ID: <1505809055.20966.5.camel@pengutronix.de> (raw)
In-Reply-To: <1505802181-27650-1-git-send-email-martin@kaiser.cx>
Am Dienstag, den 19.09.2017, 08:23 +0200 schrieb Martin Kaiser:
> 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 <martin@kaiser.cx>
Reviewed-by: Lucas Stach <l.stach@pengutronix.de>
> ---
> changes in v2: none
>
> drivers/mfd/fsl-imx25-tsadc.c | 3 +--
> 1 file changed, 1 insertion(+), 2 deletions(-)
>
> diff --git a/drivers/mfd/fsl-imx25-tsadc.c b/drivers/mfd/fsl-imx25-tsadc.c
> index b3767c3..14189ef 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;
> }
next prev parent reply other threads:[~2017-09-19 8:17 UTC|newest]
Thread overview: 15+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-09-12 8:34 [PATCH " Martin Kaiser
2017-09-12 8:34 ` [PATCH 2/2] mfd: fsl-imx25: clean up irq settings during removal Martin Kaiser
2017-09-14 9:25 ` Lee Jones
2017-09-14 20:59 ` Martin Kaiser
2017-09-18 8:50 ` Lee Jones
2017-09-14 9:26 ` [PATCH 1/2] mfd: fsl-imx25: set irq handler and data in one go Lee Jones
2017-09-19 6:23 ` [PATCH v2 " Martin Kaiser
2017-09-19 6:23 ` [PATCH v2 2/2] mfd: fsl-imx25: clean up irq settings during removal Martin Kaiser
2017-09-19 8:23 ` Lucas Stach
2017-09-19 8:17 ` Lucas Stach [this message]
2017-09-19 12:38 ` [PATCH v3 1/2] mfd: fsl-imx25: set irq handler and data in one go Martin Kaiser
2017-09-19 12:38 ` [PATCH v3 2/2] mfd: fsl-imx25: clean up irq settings during removal Martin Kaiser
2017-09-19 12:41 ` Lucas Stach
2017-10-17 20:53 ` [PATCH RESEND " Martin Kaiser
2017-10-23 15:42 ` Lee Jones
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1505809055.20966.5.camel@pengutronix.de \
--to=l.stach@pengutronix.de \
--cc=kernel@pengutronix.de \
--cc=lee.jones@linaro.org \
--cc=linux-kernel@vger.kernel.org \
--cc=martin@kaiser.cx \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®