commit | b95579cd8795442e75c8846fa6eeb4fb442e9d83 | [log] [tgz] |
---|---|---|
author | Nishanth Menon <nm@ti.com> | Thu Dec 04 10:58:56 2014 -0600 |
committer | Guenter Roeck <linux@roeck-us.net> | Thu Dec 04 11:04:14 2014 -0800 |
tree | dc421532956f1f10aa421de25956e0f606d9f154 | |
parent | 52a95c1185220feb514c8e167bd6033c0da6f576 [diff] |
hwmon: (gpio-fan) Add a shutdown handler to poweroff the fans Poweroff the fans when shutting down the system. Else, echo '1' > /sys/class/hwmon/hwmon0/fan1_target; poweroff leaves the fan running if the System power off does not drive the gpio expander which might control the fan power supply. Signed-off-by: Nishanth Menon <nm@ti.com> Signed-off-by: Guenter Roeck <linux@roeck-us.net>