Home
last modified time | relevance | path

Searched hist:"862 c13b5518c556fce974ddcc9837fa94176adff" (Results 1 – 1 of 1) sorted by relevance

/linux/drivers/watchdog/
H A Dda9055_wdt.cdiff 862c13b5518c556fce974ddcc9837fa94176adff Mon Apr 08 21:38:34 CEST 2019 Guenter Roeck <linux@roeck-us.net> watchdog: da9055_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

Cc: Support Opensource <support.opensource@diasemi.com>
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
Acked-by: Steve Twiss <stwiss.opensource@diasemi.com>
Signed-off-by: Wim Van Sebroeck <wim@linux-watchdog.org>