]> git.karo-electronics.de Git - karo-tx-linux.git/commit
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>
Wed, 28 Oct 2015 22:02:25 +0000 (23:02 +0100)
commit4f129bb912c4b64ecea881f7bf8be362d2aec6c3
tree36a64170b90d73d485fd0ecdf1fbc47350a6a926
parentda98995fa1075ffa77485df3c58b4ae1c9d7a8ef
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-Koenig <u.kleine-koenig@pengutronix.de>
Signed-off-by: Wim Van Sebroeck <wim@iguana.be>
drivers/watchdog/watchdog_dev.c