diff options
author | Geert Uytterhoeven | 2020-02-11 19:19:04 +0100 |
---|---|---|
committer | Herbert Xu | 2020-02-22 09:25:43 +0800 |
commit | 5fabab0d36d333c1d182369c845f6c7546a4afb8 (patch) | |
tree | a431308e818aa3ce7460025a523db1f9c481a4f0 /drivers/powercap/idle_inject.c | |
parent | ba99b6f9bd59ff47ca5d1c9cfa4c6a6bd5499d76 (diff) |
crypto: ccree - use existing helpers to split 64-bit addresses
Use the existing lower_32_bits() and upper_32_bits() macros instead of
explicit casts and shifts to split a 64-bit address in its two 32-bit
parts.
Drop the superfluous cast to "u16", as the FIELD_PREP() macro already
masks it to the specified field width.
Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'drivers/powercap/idle_inject.c')
0 files changed, 0 insertions, 0 deletions