staging: ccree: simplify registers access
authorGilad Ben-Yossef <gilad@benyossef.com>
Mon, 6 Nov 2017 06:55:51 +0000 (06:55 +0000)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 6 Nov 2017 15:47:04 +0000 (16:47 +0100)
commit57a1f2a04a74e8b21bfb7bda4aa18adc8ae9f57c
treeef16ef0560c47e0daaca07cec4d35eeeb1a9be89
parente979f35675862fdd38b63475d1c1fdf66361460d
staging: ccree: simplify registers access

The register offset calculation macro was taking a HW block base
parameter that was not actually used. Simplify the whole thing
by dropping it and rename the macro for better readability.

Signed-off-by: Gilad Ben-Yossef <gilad@benyossef.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/ccree/cc_regs.h
drivers/staging/ccree/ssi_driver.c
drivers/staging/ccree/ssi_fips.c
drivers/staging/ccree/ssi_pm.c
drivers/staging/ccree/ssi_request_mgr.c
drivers/staging/ccree/ssi_sysfs.c