[PATCH 1/1] mtd: rawnand: r852: use DEVICE_ATTR_RO() helper macro
Miquel Raynal
miquel.raynal at bootlin.com
Fri Jun 11 12:02:31 PDT 2021
On Thu, 2021-06-03 at 12:33:39 UTC, Zhen Lei wrote:
> Use DEVICE_ATTR_RO() helper macro instead of plain DEVICE_ATTR(), which
> makes the code a bit shorter and easier to read.
>
> Signed-off-by: Zhen Lei <thunder.leizhen at huawei.com>
Applied to https://git.kernel.org/pub/scm/linux/kernel/git/mtd/linux.git nand/next, thanks.
Miquel
More information about the linux-mtd
mailing list