From: Nishanth Menon Date: Thu, 4 Dec 2014 16:58:56 +0000 (-0600) Subject: hwmon: (gpio-fan) Add a shutdown handler to poweroff the fans X-Git-Tag: omap-for-v3.19/fixes-for-merge-window~25^2~2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b95579cd8795442e75c8846fa6eeb4fb442e9d83;p=pandora-kernel.git 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 Signed-off-by: Guenter Roeck --- Reading git-diff-tree failed