On Sun, Dec 2, 2018 at 4:15 PM Boris Brezillon <boris.brezil...@bootlin.com> wrote: > > Looks like getting rid of DEBUGFS_RO_ATTR() is just one of the change > you do. I think you should change the subject line: > > "mtd: use DEFINE_SHOW_ATTRIBUTE() instead of open-coding it" > > This way it covers all of your changes. > > On Sun, 2 Dec 2018 02:32:02 -0500 > Yangtao Li <tiny.win...@gmail.com> wrote: > > > We already have the DEFINE_SHOW_ATTRIBUTE.There is no need to define > > ^ missing space > > > such a macro,so remove DEBUGFS_RO_ATTR.Also use DEFINE_SHOW_ATTRIBUTE > > ^ here as well > > > to simplify some code. > > If you go for the new subject line, you'll have to change this commit > message. How about the newer?
MBR, Yangtao