summaryrefslogtreecommitdiffstats
path: root/mm/migrate.c
diff options
context:
space:
mode:
authorGuenter Roeck <linux@roeck-us.net>2019-04-08 12:38:34 -0700
committerWim Van Sebroeck <wim@linux-watchdog.org>2019-05-05 21:02:16 +0200
commit862c13b5518c556fce974ddcc9837fa94176adff (patch)
tree5e53a08074ea6fb1ebacc5a1a925596513addf72 /mm/migrate.c
parentf7e29623e2678c51934553b723bdec30d70986fe (diff)
downloadlinux-862c13b5518c556fce974ddcc9837fa94176adff.tar.gz
linux-862c13b5518c556fce974ddcc9837fa94176adff.tar.bz2
linux-862c13b5518c556fce974ddcc9837fa94176adff.zip
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>
Diffstat (limited to 'mm/migrate.c')
0 files changed, 0 insertions, 0 deletions