Commit bdaf886f authored by Graham Gower's avatar Graham Gower Committed by Linus Torvalds

drivers/rtc/rtc-pcf8563.c: remove unused struct

Signed-off-by: default avatarGraham Gower <graham.gower@gmail.com>
Acked-by: default avatarWan ZongShun <mcuos.com@gmail.com>
Cc: Alessandro Zummo <a.zummo@towertech.it>
Signed-off-by: default avatarAndrew Morton <akpm@linux-foundation.org>
Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
parent 70d2a0ba
...@@ -172,14 +172,6 @@ static int pcf8563_set_datetime(struct i2c_client *client, struct rtc_time *tm) ...@@ -172,14 +172,6 @@ static int pcf8563_set_datetime(struct i2c_client *client, struct rtc_time *tm)
return 0; return 0;
} }
struct pcf8563_limit
{
unsigned char reg;
unsigned char mask;
unsigned char min;
unsigned char max;
};
static int pcf8563_rtc_read_time(struct device *dev, struct rtc_time *tm) static int pcf8563_rtc_read_time(struct device *dev, struct rtc_time *tm)
{ {
return pcf8563_get_datetime(to_i2c_client(dev), tm); return pcf8563_get_datetime(to_i2c_client(dev), tm);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment