rtc: ingenic: Remove unused fields from private structure
authorPaul Cercueil <paul@crapouillou.net>
Tue, 5 May 2020 22:13:34 +0000 (00:13 +0200)
committerAlexandre Belloni <alexandre.belloni@bootlin.com>
Mon, 11 May 2020 14:35:01 +0000 (16:35 +0200)
commit77d8f3c1226b2ae60b989568a102dd79a8b379f0
treec8ff4f6ed72afe66c640395acf504c4766d69a91
parentfe0557f4dbd8cab3fd3a410212157d1a4b67de8b
rtc: ingenic: Remove unused fields from private structure

The 'clk' and 'irq' fields were only ever used in the probe function.
Therefore they can be moved to be simple local variables of the probe
function.

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