rtc: ingenic: Use local 'dev' variable in probe
authorPaul Cercueil <paul@crapouillou.net>
Tue, 5 May 2020 22:13:31 +0000 (00:13 +0200)
committerAlexandre Belloni <alexandre.belloni@bootlin.com>
Mon, 11 May 2020 14:34:55 +0000 (16:34 +0200)
commitc61293f147738b4438639ef81124d5ea6246e610
tree0eb518d6e2fd6543516e5ef293a52ab6cefb7a9c
parent24e1f2c9383e324bac74ee2a78d8450d4d0a1b6f
rtc: ingenic: Use local 'dev' variable in probe

Clean a bit the probe function by adding a local struct device *dev
variable.

Signed-off-by: Paul Cercueil <paul@crapouillou.net>
Link: https://lore.kernel.org/r/20200505221336.222313-2-paul@crapouillou.net
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
drivers/rtc/rtc-jz4740.c