From: Wolfram Sang <wsa@kernel.org>
To: Yicong Yang <yangyicong@hisilicon.com>
Cc: linux-i2c@vger.kernel.org, digetx@gmail.com,
andriy.shevchenko@linux.intel.com, prime.zeng@huawei.com,
tiantao6@hisilicon.com, linuxarm@huawei.com
Subject: Re: [PATCH] i2c: core: simplify devm_i2c_new_dummy_device()
Date: Thu, 8 Apr 2021 23:02:18 +0200 [thread overview]
Message-ID: <20210408210218.GF1900@kunai> (raw)
In-Reply-To: <1617884260-15461-1-git-send-email-yangyicong@hisilicon.com>
[-- Attachment #1: Type: text/plain, Size: 341 bytes --]
On Thu, Apr 08, 2021 at 08:17:40PM +0800, Yicong Yang wrote:
> Use devm_add_action_or_reset() instead of devres_alloc() and
> devres_add(), which works the same. This will simplify the
> code. There is no functional change.
>
> Signed-off-by: Yicong Yang <yangyicong@hisilicon.com>
Yes, really nice! Applied to for-next, thanks!
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 833 bytes --]
prev parent reply other threads:[~2021-04-08 21:02 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-04-08 12:17 [PATCH] i2c: core: simplify devm_i2c_new_dummy_device() Yicong Yang
2021-04-08 13:32 ` Andy Shevchenko
2021-04-08 21:02 ` Wolfram Sang [this message]
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=20210408210218.GF1900@kunai \
--to=wsa@kernel.org \
--cc=andriy.shevchenko@linux.intel.com \
--cc=digetx@gmail.com \
--cc=linux-i2c@vger.kernel.org \
--cc=linuxarm@huawei.com \
--cc=prime.zeng@huawei.com \
--cc=tiantao6@hisilicon.com \
--cc=yangyicong@hisilicon.com \
/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;
as well as URLs for NNTP newsgroup(s).