diff options
author | Jean Delvare <[email protected]> | 2012-07-26 22:18:43 +0200 |
---|---|---|
committer | Guenter Roeck <[email protected]> | 2012-07-27 13:59:22 -0700 |
commit | 5953e2761be088f66fd930dfbf6b36a5a41d82a3 (patch) | |
tree | 39fb8d4388a10099bbda30c45ab8352058b152dd /lib/mpi/mpi-internal.h | |
parent | 2ccc8731e5054058d5fb990744b4f72a79018d34 (diff) |
hwmon: (jc42) Don't reset hysteresis on device removal
Restoring the configuration register on device removal has the side
effect of also resetting the hysteresis value. This is inconsistent as
the other limits are not reset, only hysteresis. So, following the
principle of least surprise, preserve the hysteresis value when
restoring the configuration register.
Signed-off-by: Jean Delvare <[email protected]>
Cc: Guenter Roeck <[email protected]>
Signed-off-by: Guenter Roeck <[email protected]>
Diffstat (limited to 'lib/mpi/mpi-internal.h')
0 files changed, 0 insertions, 0 deletions