From: Pavel Machek <pavel@ucw.cz>
To: Zhen Lei <thunder.leizhen@huawei.com>
Cc: Sakari Ailus <sakari.ailus@linux.intel.com>,
Mauro Carvalho Chehab <mchehab@kernel.org>,
linux-media <linux-media@vger.kernel.org>
Subject: Re: [PATCH 1/1] media: i2c: et8ek8: use DEVICE_ATTR_RO() helper macro
Date: Wed, 23 Jun 2021 23:17:38 +0200 [thread overview]
Message-ID: <20210623211738.GJ8540@amd> (raw)
In-Reply-To: <20210603071529.11544-1-thunder.leizhen@huawei.com>
[-- Attachment #1: Type: text/plain, Size: 413 bytes --]
On Thu 2021-06-03 15:15:29, Zhen Lei wrote:
> Use DEVICE_ATTR_RO() helper macro instead of DEVICE_ATTR(), which is
> simpler and more readable.
>
> Due to the name of the read function of the sysfs attribute is normalized,
> there is a natural association.
>
> Signed-off-by: Zhen Lei <thunder.leizhen@huawei.com>
Acked-by: Pavel Machek <pavel@ucw.cz>
--
http://www.livejournal.com/~pavelmachek
[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 181 bytes --]
prev parent reply other threads:[~2021-06-23 21:17 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-06-03 7:15 [PATCH 1/1] media: i2c: et8ek8: use DEVICE_ATTR_RO() helper macro Zhen Lei
2021-06-23 21:17 ` Pavel Machek [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=20210623211738.GJ8540@amd \
--to=pavel@ucw.cz \
--cc=linux-media@vger.kernel.org \
--cc=mchehab@kernel.org \
--cc=sakari.ailus@linux.intel.com \
--cc=thunder.leizhen@huawei.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