staging: iio: tsl2x7x_core: Use devm_* APIs
devm_* APIs are device managed and make code simpler. Signed-off-by: NSachin Kamat <sachin.kamat@linaro.org> Cc: J. August Brenner <jbrenner@taosinc.com> Signed-off-by: NJonathan Cameron <jic23@kernel.org>
Showing
想要评论请 注册 或 登录