]> asedeno.scripts.mit.edu Git - linux.git/commit
hwmon: (gpio-fan) Get rid of the gpio alarm struct
authorLinus Walleij <linus.walleij@linaro.org>
Mon, 25 Sep 2017 23:09:09 +0000 (01:09 +0200)
committerGuenter Roeck <linux@roeck-us.net>
Mon, 30 Oct 2017 01:36:03 +0000 (18:36 -0700)
commitc9933cb16f166de57b0b8bce170c1b9476b89836
tree9d7edd1ad3e636543c84be58a16d5055b707dd82
parentb5482f7e6cc5639440bfa0b9bb4a3a9732883f53
hwmon: (gpio-fan) Get rid of the gpio alarm struct

There is no point in storing the GPIO alarm settings in their
own struct so merge this into the main state container.

Convert the variables from "unsigned" to "unsigned int" 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