watchdog: wm831x: Use GPIO descriptor
The WM831x watchdog driver passes a global GPIO number from
platform data into this driver, this is discouraged so pass
a GPIO descriptor instead.
More thorough approaches are possible passing descriptors
associated with the device through machine descriptor tables,
but no boardfiles in the kernel currently use this driver
so it is hard to test.
Cc: Richard Fitzgerald <email@example.com>
Cc: Charles Keepax <firstname.lastname@example.org>
Cc: Mark Brown <email@example.com>
Signed-off-by: Linus Walleij <firstname.lastname@example.org>
2 files changed