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

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


On Thu, 2021-06-03 at 12:53:22 UTC, Zhen Lei wrote:
> Compared with the definition of DEVICE_ATTR_RO/RW(), the read and write
> function names of the sysfs attribute have an additional "mtd_" prefix.
> 
> 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