]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit896cfa38a82203124305d55f6cfaf46110cbf2cd
treec8ff4f6ed72afe66c640395acf504c4766d69a91
parente2b8bdd69a41908736692a5a3c42d30ecae2b0c7
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