commit | 8d06cd25f745db8905e303cc915932cc50aa0ae5 | [log] [tgz] |
---|---|---|
author | Linus Walleij <linus.walleij@linaro.org> | Wed Jun 29 14:08:37 2016 +0200 |
committer | Jonathan Cameron <jic23@kernel.org> | Thu Jun 30 20:40:12 2016 +0100 |
tree | c26b72fafd7c98c3b009feaac5a48b9e38fc18e9 | |
parent | b1037c1a498f9bb3b5a81c2f243c605c190da754 [diff] |
iio: magn: ak8975: make sure to power down at remove() The code was not powering the magnetometer down properly at remove(): just cutting the regulators without first setting the device in power off mode. Fix this. Signed-off-by: Linus Walleij <linus.walleij@linaro.org> Reviewed-by: Ulf Hansson <ulf.hansson@linaro.org> Signed-off-by: Jonathan Cameron <jic23@kernel.org>