hwmon: (gpio-fan) Localize platform data
authorLinus Walleij <linus.walleij@linaro.org>
Mon, 25 Sep 2017 23:09:05 +0000 (01:09 +0200)
committerGuenter Roeck <linux@roeck-us.net>
Mon, 30 Oct 2017 01:36:03 +0000 (18:36 -0700)
commitef7a612415958de1f9afd86235d38b14975d0b7c
tree23ad423cfce2ba9ad651d86fdaafdccc7fc644ed
parentf9013c1677426df09022fe6fa0121e6fe9e1a0fa
hwmon: (gpio-fan) Localize platform data

There is not a single user of the platform data header in
<linux/gpio-fan.h>. We can conclude that all current users are
probing from the device tree, so start simplifying the code by
pulling the header into the driver.

Convert "unsigned" to "unsigned int" in the process to make
checkpatch happy.

Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
drivers/hwmon/gpio-fan.c
include/linux/gpio-fan.h [deleted file]