diff options
author | Lars-Peter Clausen <lars@metafoo.de> | 2013-02-15 20:57:10 +0400 |
---|---|---|
committer | Guenter Roeck <linux@roeck-us.net> | 2013-02-20 05:34:15 +0400 |
commit | 6e7d3b6bb9af358b2bf05cccb025ac5d66630b47 (patch) | |
tree | 059828e559ed2dac772605899ac26d224ed49029 /drivers/base/class.c | |
parent | d47682803776f147ee9662a505c63bbbf27a1274 (diff) | |
download | linux-6e7d3b6bb9af358b2bf05cccb025ac5d66630b47.tar.xz |
hwmon: (adt7410) Clear unwanted bits in the config register
Make sure to clear the mode bits from the config register before setting the new
mode. Otherwise we might end up with a different mode than we want to.
Signed-off-by: Lars-Peter Clausen <lars@metafoo.de>
Reviewed-by: Hartmut Knaack <knaack.h@gmx.de>
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
Diffstat (limited to 'drivers/base/class.c')
0 files changed, 0 insertions, 0 deletions