hwmon: (gpio-fan) Send around device pointer
authorLinus Walleij <linus.walleij@linaro.org>
Mon, 25 Sep 2017 23:09:06 +0000 (01:09 +0200)
committerGuenter Roeck <linux@roeck-us.net>
Mon, 30 Oct 2017 01:36:03 +0000 (18:36 -0700)
commit8c0eb9bc52fad2fec7a5ff40d5da85b74232f5de
tree694cce803ba37d6b425f1c97983d0110de1d0b2d
parentef7a612415958de1f9afd86235d38b14975d0b7c
hwmon: (gpio-fan) Send around device pointer

The driver is storing the struct platform_device *pdev pointer
but what it is really using and want to pass around is a
struct device *dev pointer.

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