OSDN Git Service

watchdog: mena21_wdt: Convert to GPIO descriptors
authorLinus Walleij <linus.walleij@linaro.org>
Sun, 2 Dec 2018 11:04:10 +0000 (12:04 +0100)
committerWim Van Sebroeck <wim@linux-watchdog.org>
Sat, 22 Dec 2018 11:15:34 +0000 (12:15 +0100)
commit22ec9bb1cbcd613c73476ccd8f6a5e8c77793f66
tree6a8bc651ddd04d78b3e45beeaeaa236a50090df6
parent8d4d4f3267e1fcad56ca5aa4eabf72472e10965f
watchdog: mena21_wdt: Convert to GPIO descriptors

This drops the old OF API use to look up global GPIO
numbers and replace it with the GPIO descriptor API.

Cc: Johannes Thumshirn <jthumshirn@suse.de>
Cc: Johannes Thumshirn <morbidrsa@gmail.com>
Cc: Johannes Thumshirn <jth@kernel.org>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Acked-by: Johannes Thumshirn <jthumshirn@suse.de>
Reviewed-by: Guenter Roeck <linux@roeck-us.net>
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
Signed-off-by: Wim Van Sebroeck <wim@linux-watchdog.org>
drivers/watchdog/mena21_wdt.c