Home
last modified time | relevance | path

Searched hist:"30 f57e0f22bb94e0226febde03a012db3cc328f1" (Results 1 – 1 of 1) sorted by relevance

/linux/drivers/watchdog/
H A Dwm831x_wdt.cdiff 30f57e0f22bb94e0226febde03a012db3cc328f1 Wed Apr 10 18:27:49 CEST 2019 Guenter Roeck <linux@roeck-us.net> watchdog: wm831x_wdt: Use 'dev' instead of dereferencing it repeatedly

Introduce local variable 'struct device *dev' and use it instead of
dereferencing it repeatedly.

The conversion was done automatically with coccinelle using the
following semantic patches. The semantic patches and the scripts
used to generate this commit log are available at
https://github.com/groeck/coccinelle-patches

Signed-off-by: Guenter Roeck <linux@roeck-us.net>
Signed-off-by: Wim Van Sebroeck <wim@linux-watchdog.org>