Re: [PATCH] mtd: remove DEBUGFS_RO_ATTR()

2018-12-01 Thread kbuild test robot
Hi Yangtao, Thank you for the patch! Yet something to improve: [auto build test ERROR on mtd/master] [also build test ERROR on v4.20-rc4 next-20181130] [if your patch is applied to the wrong git tree, please drop us a note to help improve the system] url: https://github.com/0day-ci/linux/co

Re: [PATCH] mtd: remove DEBUGFS_RO_ATTR()

2018-12-01 Thread kbuild test robot
Hi Yangtao, Thank you for the patch! Yet something to improve: [auto build test ERROR on mtd/master] [also build test ERROR on v4.20-rc4 next-20181130] [if your patch is applied to the wrong git tree, please drop us a note to help improve the system] url: https://github.com/0day-ci/linux/co

[PATCH] mtd: remove DEBUGFS_RO_ATTR()

2018-12-01 Thread Yangtao Li
We already have the DEFINE_SHOW_ATTRIBUTE.There is no need to define such a macro,so remove DEBUGFS_RO_ATTR.Also use DEFINE_SHOW_ATTRIBUTE to simplify some code. Signed-off-by: Yangtao Li --- drivers/mtd/devices/docg3.c| 15 +-- drivers/mtd/devices/docg3.h| 11 --- dr