crypto: sun4i-ss - use DEFINE_SHOW_ATTRIBUTE to simplify sun4i_ss_debugfs
authorLiu Shixin <liushixin2@huawei.com>
Fri, 16 Sep 2022 14:13:40 +0000 (22:13 +0800)
committerHerbert Xu <herbert@gondor.apana.org.au>
Sat, 24 Sep 2022 08:14:44 +0000 (16:14 +0800)
commitb21dc631222bbe61c372dfb19373fb9d83718314
treef31cedb00a0a99d5156453266151a4715c2f2757
parentc4b1ce72b5c9f7d5772b2f2d4efa25ef0e6fb576
crypto: sun4i-ss - use DEFINE_SHOW_ATTRIBUTE to simplify sun4i_ss_debugfs

Use DEFINE_SHOW_ATTRIBUTE helper macro to simplify the code.

Signed-off-by: Liu Shixin <liushixin2@huawei.com>
Acked-by: Corentin Labbe <clabbe.montjoie@gmail.com>
Tested-by: Corentin Labbe <clabbe.montjoie@gmail.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
drivers/crypto/allwinner/sun4i-ss/sun4i-ss-core.c