mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/
synced 2026-09-28 19:20:30 +00:00
staging: iio: lpc32xx_adc: Use devm_* APIs
devm_* APIs are device managed and make code simpler. This also fixes an error in return type during clk_get failure. Signed-off-by: Sachin Kamat <sachin.kamat@linaro.org> Cc: Roland Stigge <stigge@antcom.de> Signed-off-by: Jonathan Cameron <jic23@kernel.org>
This commit is contained in:
parent
6a88fa4826
commit
7d456e4ea2
1 changed files with 14 additions and 35 deletions
Loading…
Add table
Add a link
Reference in a new issue