[PATCH 1/1] mtd: mtdpart: use DEVICE_ATTR_RO() helper macro
Miquel Raynal
miquel.raynal at bootlin.com
Fri Jun 11 12:00:25 PDT 2021
On Thu, 2021-06-03 at 12:30:41 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 mtd/next, thanks.
Miquel
More information about the linux-mtd
mailing list