On Thu, Jul 16, 2020 at 05:06:32PM +0800, Qinglang Miao wrote: > From: Chen Huang <chenhuang5@xxxxxxxxxx> > > Use DEFINE_SHOW_ATTRIBUTE macro to simplify the code. > > Signed-off-by: Chen Huang <chenhuang5@xxxxxxxxxx> > --- > 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(-) > Acked-by: Corentin Labbe <clabbe.montjoie@xxxxxxxxx> Tested-by: Corentin Labbe <clabbe.montjoie@xxxxxxxxx> Thanks