diff options
author | Linus Walleij <linus.walleij@linaro.org> | 2016-06-29 15:08:37 +0300 |
---|---|---|
committer | Jonathan Cameron <jic23@kernel.org> | 2016-06-30 22:40:12 +0300 |
commit | 8d06cd25f745db8905e303cc915932cc50aa0ae5 (patch) | |
tree | c26b72fafd7c98c3b009feaac5a48b9e38fc18e9 /kernel | |
parent | b1037c1a498f9bb3b5a81c2f243c605c190da754 (diff) | |
download | linux-8d06cd25f745db8905e303cc915932cc50aa0ae5.tar.xz |
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>
Diffstat (limited to 'kernel')
0 files changed, 0 insertions, 0 deletions