summaryrefslogtreecommitdiffstats
path: root/drivers/ide
diff options
context:
space:
mode:
authorAnson Huang <Anson.Huang@nxp.com>2019-09-24 09:07:08 +0200
committerWim Van Sebroeck <wim@linux-watchdog.org>2019-11-18 19:53:39 +0100
commit86865322d227c82dd6edc5970d5b554a391fb2eb (patch)
treef00a7036a130f217264891f1772c384d5494e945 /drivers/ide
parentwatchdog: imx2_wdt: Use __maybe_unused instead of #if CONFIG_PM_SLEEP (diff)
downloadlinux-86865322d227c82dd6edc5970d5b554a391fb2eb.tar.xz
linux-86865322d227c82dd6edc5970d5b554a391fb2eb.zip
watchdog: imx2_wdt: Use 'dev' instead of dereferencing it repeatedly
Add helper variable dev = &pdev->dev to simply the code. Signed-off-by: Anson Huang <Anson.Huang@nxp.com> Reviewed-by: Guenter Roeck <linux@roeck-us.net> Link: https://lore.kernel.org/r/1569308828-8320-3-git-send-email-Anson.Huang@nxp.com Signed-off-by: Guenter Roeck <linux@roeck-us.net> Signed-off-by: Wim Van Sebroeck <wim@linux-watchdog.org>
Diffstat (limited to 'drivers/ide')
0 files changed, 0 insertions, 0 deletions