summaryrefslogtreecommitdiffstats
path: root/drivers/watchdog/sbsa_gwdt.c
diff options
context:
space:
mode:
authorGuenter Roeck <linux@roeck-us.net>2017-01-04 04:21:37 +0100
committerGuenter Roeck <linux@roeck-us.net>2017-02-24 23:00:23 +0100
commit9e14375880c4a64e190b296023f52e987cb9d33e (patch)
treec902009a19079442048d1235b12e90d99f5489d5 /drivers/watchdog/sbsa_gwdt.c
parentwatchdog: coh901327_wdt: Use devm_ioremap_resource to map resources (diff)
downloadlinux-9e14375880c4a64e190b296023f52e987cb9d33e.tar.xz
linux-9e14375880c4a64e190b296023f52e987cb9d33e.zip
watchdog: coh901327_wdt: Use dev variable instead of pdev->dev
Use a local dev variable instead of dereferencing pdev->dev several times in the probe function to make the code easier to read. Reviewed-by: Linus Walleij <linus.walleij@linaro.org> Signed-off-by: Guenter Roeck <linux@roeck-us.net>
Diffstat (limited to 'drivers/watchdog/sbsa_gwdt.c')
0 files changed, 0 insertions, 0 deletions