(gpio-fan): Add thermal control hooks
authorNishanth Menon <nm@ti.com>
Thu, 8 Jan 2015 18:05:03 +0000 (12:05 -0600)
committerGuenter Roeck <linux@roeck-us.net>
Mon, 9 Mar 2015 16:59:36 +0000 (09:59 -0700)
commitb5cf88e46badea6d600d8515edea23814e03444d
treee34c800910768dbb574336ba3a9a914d793454fe
parentb6bddec01932b94a20b6a7bbb7ed9d98e82ec162
(gpio-fan): Add thermal control hooks

Allow gpio-fan to be used as thermal cooling device for platforms that
use GPIO maps to control fans.

As part of this change, we make the shutdown and remove logic the same
as well.

Signed-off-by: Nishanth Menon <nm@ti.com>
Acked-by: Eduardo Valentin <edubezval@gmail.com>
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
Documentation/devicetree/bindings/gpio/gpio-fan.txt
drivers/hwmon/gpio-fan.c