Re: [PATCH -next] crypto: allwinner - Convert to DEFINE_SHOW_ATTRIBUTE

2020-07-20 Thread Corentin Labbe
On Thu, Jul 16, 2020 at 05:06:32PM +0800, Qinglang Miao wrote: > From: Chen Huang > > Use DEFINE_SHOW_ATTRIBUTE macro to simplify the code. > > Signed-off-by: Chen Huang > --- > drivers/crypto/allwinner/sun8i-ce/sun8i-ce-core.c | 15 ++- > drivers/crypto/allwinner/sun8i-ss/sun8i-ss

[PATCH -next] crypto: allwinner - Convert to DEFINE_SHOW_ATTRIBUTE

2020-07-16 Thread Qinglang Miao
From: Chen Huang Use DEFINE_SHOW_ATTRIBUTE macro to simplify the code. Signed-off-by: Chen Huang --- drivers/crypto/allwinner/sun8i-ce/sun8i-ce-core.c | 15 ++- drivers/crypto/allwinner/sun8i-ss/sun8i-ss-core.c | 15 ++- 2 files changed, 4 insertions(+), 26 deletions(-)