Commit 1e3d47b9 authored by Baolin Wang's avatar Baolin Wang Committed by Srinivas Kandagatla
Browse files

nvmem: sc27xx: Change to use devm_hwspin_lock_request_specific() to request one hwlock



Change to use devm_hwspin_lock_request_specific() to help to simplify the
cleanup code for drivers requesting one hwlock. Thus we can remove the
redundant sc27xx_efuse_remove() and platform_set_drvdata().

Signed-off-by: default avatarBaolin Wang <baolin.wang@linaro.org>
Signed-off-by: default avatarSrinivas Kandagatla <srinivas.kandagatla@linaro.org>
parent 8939961f
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment