[PATCH 2/2] mtd: core: use MTD_DEVICE_ATTR_RO/RW() helper macros

Miquel Raynal miquel.raynal at bootlin.com
Fri Jun 11 12:00:13 PDT 2021


On Thu, 2021-06-03 at 12:53:23 UTC, Zhen Lei wrote:
> Use MTD_DEVICE_ATTR_RO/RW() helper macros 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