aboutsummaryrefslogtreecommitdiff
path: root/lib/crypto/mpi/mpiutil.c
diff options
context:
space:
mode:
authorFei Shao <[email protected]>2024-07-17 19:58:52 +0800
committerStephen Boyd <[email protected]>2024-07-29 16:01:23 -0700
commitae8ca031f590dc2c33f0f0286034d34e629099ce (patch)
tree61671fa5711e333f2a719e1e7858d1658bffa024 /lib/crypto/mpi/mpiutil.c
parent8400291e289ee6b2bf9779ff1c83a291501f017b (diff)
clk: mediatek: reset: Return regmap's error code
device_node_to_regmap() can return different errors, and it's better practice to pass them to callers. Clean up the hardcoded -EINVAL and use PTR_ERR(regmap) instead. Signed-off-by: Fei Shao <[email protected]> Link: https://lore.kernel.org/r/[email protected] Reviewed-by: AngeloGioacchino Del Regno <[email protected]> Signed-off-by: Stephen Boyd <[email protected]>
Diffstat (limited to 'lib/crypto/mpi/mpiutil.c')
0 files changed, 0 insertions, 0 deletions