watchdog: watchdog_dev: Use single variable name for struct watchdog_device
authorGuenter Roeck <linux@roeck-us.net>
Tue, 29 Sep 2015 08:27:25 +0000 (01:27 -0700)
committerWim Van Sebroeck <wim@iguana.be>
Tue, 3 Nov 2015 13:36:09 +0000 (14:36 +0100)
commitbc794ac3b5836ee2b2420b0597f33538ad100be0
tree36a64170b90d73d485fd0ecdf1fbc47350a6a926
parent1e935949111e77b2b1b6fa550e88ff0573c2f4c7
watchdog: watchdog_dev: Use single variable name for struct watchdog_device

The current code uses 'wdd', wddev', and 'watchdog' as variable names
for struct watchdog_device. This is confusing and makes it difficult
to enhance the code. Replace it all with 'wdd'.

Signed-off-by: Guenter Roeck <linux@roeck-us.net>
Cc: Timo Kokkonen <timo.kokkonen@offcode.fi>
Acked-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
Signed-off-by: Wim Van Sebroeck <wim@iguana.be>
drivers/watchdog/watchdog_dev.c