watchdog: mena21_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: Johannes Thumshirn <morbidrsa@gmail.com> Signed-off-by:Guenter Roeck <linux@roeck-us.net> Reviewed-by:
Johannes Thumshirn <jth@kernel.org> Signed-off-by:
Wim Van Sebroeck <wim@linux-watchdog.org>
Showing
Please register or sign in to comment