Re: [PATCH] mmc: convert to DEFINE_SHOW_ATTRIBUTE

2018-12-05 Thread Ulf Hansson
On Sat, 1 Dec 2018 at 16:25, Yangtao Li wrote: > > Use DEFINE_SHOW_ATTRIBUTE macro to simplify the code. > > Signed-off-by: Yangtao Li Nice cleanup, applied for next, thanks! Kind regards Uffe > --- > drivers/mmc/core/mmc_test.c | 14 ++ > drivers/mmc/host/atmel-mci.c | 31

[PATCH] mmc: convert to DEFINE_SHOW_ATTRIBUTE

2018-12-01 Thread Yangtao Li
Use DEFINE_SHOW_ATTRIBUTE macro to simplify the code. Signed-off-by: Yangtao Li --- drivers/mmc/core/mmc_test.c | 14 ++ drivers/mmc/host/atmel-mci.c | 31 +-- drivers/mmc/host/omap_hsmmc.c | 14 ++ drivers/mmc/host/s3cmci.c | 30 ---