[PATCH v2 0/8] crypto: hisilicon/hpre - fix coding style

From: Hui Tang
Date: Wed May 12 2021 - 02:31:03 EST


This patchset fix coding style, as follows:

Hui Tang (8):
crypto: hisilicon/hpre - the macro 'HPRE_ADDR' expands
crypto: hisilicon/hpre - init a structure member each line
crypto: hisilicon/hpre - replace macro with inline function
crypto: hisilicon/hpre - remove the macro of 'HPRE_DEV'
crypto: hisilicon/hpre - delete rudundant initialization
crypto: hisilicon/hpre - use 'GENMASK' to generate mask value
crypto: hisilicon/hpre - delete rudundant macro definition
crypto: hisilicon/hpre - add 'default' for switch statement

v1 -> v2: fix build warnings reported by kernel test robot.

drivers/crypto/hisilicon/hpre/hpre_crypto.c | 67 ++++++------
drivers/crypto/hisilicon/hpre/hpre_main.c | 157 +++++++++++++++++-----------
2 files changed, 128 insertions(+), 96 deletions(-)

--
2.8.1