iio:magnetometer:ak8975: fix missing regulator_disable
Ensure optional regulator is properly disabled when present. Fixes: 63d5d525 ("iio:magnetometer:ak8975: power regulator support") Signed-off-by: NGregor Boirie <gregor.boirie@parrot.com> Signed-off-by: NJonathan Cameron <jic23@kernel.org>
Showing
想要评论请 注册 或 登录