diff options
author | Guenter Roeck <linux@roeck-us.net> | 2017-01-03 19:21:37 -0800 |
---|---|---|
committer | Guenter Roeck <linux@roeck-us.net> | 2017-02-24 14:00:23 -0800 |
commit | 9e14375880c4a64e190b296023f52e987cb9d33e (patch) | |
tree | c902009a19079442048d1235b12e90d99f5489d5 /drivers/watchdog/aspeed_wdt.c | |
parent | 30c65b22f04262206e1ea00a87469233930066c2 (diff) | |
download | blackbird-op-linux-9e14375880c4a64e190b296023f52e987cb9d33e.tar.gz blackbird-op-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/aspeed_wdt.c')
0 files changed, 0 insertions, 0 deletions