diff options
author | Corentin Labbe <clabbe.montjoie@gmail.com> | 2019-09-24 10:08:31 +0200 |
---|---|---|
committer | Herbert Xu <herbert@gondor.apana.org.au> | 2019-10-05 01:06:20 +1000 |
commit | 70dd444ad0a023d853b5d84e68226a792bb17a82 (patch) | |
tree | 9d572dc7abd66e5faabb1a3cb41fcb798e52b714 /drivers/crypto/sunxi-ss/sun4i-ss-hash.c | |
parent | 6a97a99db848748d582d79447f7c9c330ce1688e (diff) | |
download | linux-70dd444ad0a023d853b5d84e68226a792bb17a82.tar.gz linux-70dd444ad0a023d853b5d84e68226a792bb17a82.tar.bz2 linux-70dd444ad0a023d853b5d84e68226a792bb17a82.zip |
crypto: sun4i-ss - simplify enable/disable of the device
This patch regroups resource enabling/disabling in dedicated function.
This simplify error handling and will permit to support power
management.
Signed-off-by: Corentin Labbe <clabbe.montjoie@gmail.com>
Acked-by: Maxime Ripard <mripard@kernel.org>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'drivers/crypto/sunxi-ss/sun4i-ss-hash.c')
0 files changed, 0 insertions, 0 deletions