rtc: ds1307: forward declare chips array instead of a bunch of functions
authorUwe Kleine-König <u.kleine-koenig@pengutronix.de>
Fri, 25 Jan 2019 14:35:55 +0000 (15:35 +0100)
committerAlexandre Belloni <alexandre.belloni@bootlin.com>
Thu, 7 Feb 2019 19:55:41 +0000 (20:55 +0100)
commitd0e3f61b08e222d3c6895085487cbb8b54448abd
treeb00174bb0f8f96dac875d797bd544e4bab0ace94
parent92cbf12fc200595611511fb3c5ab17d2627fa43c
rtc: ds1307: forward declare chips array instead of a bunch of functions

There used to be 16 declarations for static functions. By just adding a
declaration for the chips array and reordering the functions the 16
function declarations can be dropped.

Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
drivers/rtc/rtc-ds1307.c