[PATCH 4/4] watchdog: coh901327_wdt: Use dev variable instead of pdev->dev

Linus Walleij linus.walleij at linaro.org
Mon Jan 9 11:39:58 PST 2017


On Wed, Jan 4, 2017 at 4:25 AM, Guenter Roeck <linux at roeck-us.net> wrote:

> Use a local dev variable instead of dereferencing pdev->dev several
> times in the probe function to make the code easier to read.
>
> Signed-off-by: Guenter Roeck <linux at roeck-us.net>

Reviewed-by: Linus Walleij <linus.walleij at linaro.org>

Yours,
Linus Walleij



More information about the linux-arm-kernel mailing list