summaryrefslogtreecommitdiff
path: root/drivers/rtc/rtc-pcf85363.c
diff options
context:
space:
mode:
authorAlexandre Belloni <alexandre.belloni@bootlin.com>2019-04-10 23:56:03 +0300
committerAlexandre Belloni <alexandre.belloni@bootlin.com>2019-04-11 17:42:55 +0300
commitb21a841c4c1a6b849e2c02e734b8a325a5a1db67 (patch)
tree5b9c5b5e1c48bda57a4a2e0555e1b8e391bda65f /drivers/rtc/rtc-pcf85363.c
parent176a5ee32c250918e8e2ad5e0ce0f35eaf3479ee (diff)
downloadlinux-b21a841c4c1a6b849e2c02e734b8a325a5a1db67.tar.xz
rtc: pcf85363: remove useless forward declaration
It is not necessary to forward declare pcf85363_driver as it is not used before being declared. Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Diffstat (limited to 'drivers/rtc/rtc-pcf85363.c')
-rw-r--r--drivers/rtc/rtc-pcf85363.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/rtc/rtc-pcf85363.c b/drivers/rtc/rtc-pcf85363.c
index 5e369846795e..afb1baacdaa7 100644
--- a/drivers/rtc/rtc-pcf85363.c
+++ b/drivers/rtc/rtc-pcf85363.c
@@ -112,8 +112,6 @@
#define NVRAM_SIZE 0x40
-static struct i2c_driver pcf85363_driver;
-
struct pcf85363 {
struct rtc_device *rtc;
struct regmap *regmap;