Re: [PATCH] s390: convert to DEFINE_SHOW_ATTRIBUTE

2018-12-03 Thread Sebastian Ott
On Sat, 1 Dec 2018, Yangtao Li wrote: > Use DEFINE_SHOW_ATTRIBUTE macro to simplify the code. > > Signed-off-by: Yangtao Li > --- > drivers/s390/block/dasd.c | 15 +-- > drivers/s390/cio/qdio_debug.c | 16 ++-- > 2 files changed, 3 insertions(+), 28 deletions(-) Appl

[PATCH] s390: 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/s390/block/dasd.c | 15 +-- drivers/s390/cio/qdio_debug.c | 16 ++-- 2 files changed, 3 insertions(+), 28 deletions(-) diff --git a/drivers/s390/block/dasd.c b/drivers/s390/bl