From: sjhuang@iluvatar.ai (Huang Shijie)
To: linux-arm-kernel@lists.infradead.org
Subject: [PATCH v2 3/9] dmaengine: st_fdma: use dmaenginem_async_device_register to simplify the code
Date: Mon, 6 Aug 2018 17:22:59 +0800 [thread overview]
Message-ID: <20180806092252.GA5301@hsj-Precision-5520> (raw)
In-Reply-To: <a2d2f8d5-95a7-f511-24e6-6d43228de2a6@zonque.org>
On Mon, Aug 06, 2018 at 11:03:51AM +0200, Daniel Mack wrote:
> > - ret = dma_async_device_register(&fdev->dma_device);
> > + ret = dmaenginem_async_device_register(&fdev->dma_device);
> > if (ret) {
> > dev_err(&pdev->dev,
> > "Failed to register DMA device (%d)\n", ret);
> > @@ -852,7 +852,6 @@ static int st_fdma_probe(struct platform_device *pdev)
> > return 0;
> > err_dma_dev:
> > - dma_async_device_unregister(&fdev->dma_device);
>
> I guess the jump label can go away too?
Yes.
We can remove the err_dma_dev too.
Thanks
Huang Shijie
next prev parent reply other threads:[~2018-08-06 9:22 UTC|newest]
Thread overview: 18+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-08-06 8:52 [PATCH v2 0/9] dmaengine: Use dmaenginem_async_device_register to simplify the code Huang Shijie
2018-08-06 8:52 ` [PATCH v2 1/9] dmaengine: dw-axi-dmac: use " Huang Shijie
2018-08-06 8:52 ` [PATCH v2 2/9] dmaengine: stm32-mdma: " Huang Shijie
2018-08-06 8:52 ` [PATCH v2 3/9] dmaengine: st_fdma: " Huang Shijie
2018-08-06 9:03 ` Daniel Mack
2018-08-06 9:22 ` Huang Shijie [this message]
2018-08-06 9:43 ` [PATCH V2 fix] " Huang Shijie
2018-08-06 8:52 ` [PATCH v2 4/9] dmaengine: mmp_tdma: " Huang Shijie
2018-08-06 8:52 ` [PATCH v2 5/9] dmaengine: ste_dma40: " Huang Shijie
2018-08-06 10:34 ` Linus Walleij
2018-08-06 8:52 ` [PATCH v2 6/9] dmaengine: dma-jz4780: " Huang Shijie
2018-08-06 8:52 ` [PATCH v2 7/9] dmaengine: pxa_dma: " Huang Shijie
2018-08-07 6:37 ` Robert Jarzmik
2018-08-06 8:52 ` [PATCH v2 8/9] dmaengine: mxs-dma: " Huang Shijie
2018-08-06 8:52 ` [PATCH v2 9/9] dmaengine: add COMPILE_TEST for the drivers Huang Shijie
2018-08-06 10:35 ` Linus Walleij
2018-08-07 6:32 ` Robert Jarzmik
2018-08-29 16:14 ` [PATCH v2 0/9] dmaengine: Use dmaenginem_async_device_register to simplify the code Vinod Koul
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=20180806092252.GA5301@hsj-Precision-5520 \
--to=sjhuang@iluvatar.ai \
--cc=linux-arm-kernel@lists.infradead.org \
/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