watchdog: coh901327_wdt: Use dev variable instead of pdev->dev
authorGuenter Roeck <linux@roeck-us.net>
Wed, 4 Jan 2017 03:21:37 +0000 (19:21 -0800)
committerGuenter Roeck <linux@roeck-us.net>
Fri, 24 Feb 2017 22:00:23 +0000 (14:00 -0800)
commit9e14375880c4a64e190b296023f52e987cb9d33e
treec902009a19079442048d1235b12e90d99f5489d5
parent30c65b22f04262206e1ea00a87469233930066c2
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>
drivers/watchdog/coh901327_wdt.c