aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/rtc
diff options
context:
space:
mode:
authorAlexandre Belloni <alexandre.belloni@free-electrons.com>2015-08-04 04:56:50 -0400
committerAlexandre Belloni <alexandre.belloni@free-electrons.com>2015-09-05 07:19:12 -0400
commit4b33d36b670e7166e8a082e050bfb241ba65271f (patch)
tree88d09d41674b08f35d6db88a47acea1a90eea602 /drivers/rtc
parent8c4a4467cda299491eff64640c891a0b2926cb76 (diff)
rtc: rx8025: remove useless initialization
irq_freq is already initialized to 1 in rtc_device_register() Signed-off-by: Alexandre Belloni <alexandre.belloni@free-electrons.com>
Diffstat (limited to 'drivers/rtc')
-rw-r--r--drivers/rtc/rtc-rx8025.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/rtc/rtc-rx8025.c b/drivers/rtc/rtc-rx8025.c
index 340133a5d907..f9b86b92943f 100644
--- a/drivers/rtc/rtc-rx8025.c
+++ b/drivers/rtc/rtc-rx8025.c
@@ -547,7 +547,6 @@ static int rx8025_probe(struct i2c_client *client,
547 } 547 }
548 } 548 }
549 549
550 rx8025->rtc->irq_freq = 1;
551 rx8025->rtc->max_user_freq = 1; 550 rx8025->rtc->max_user_freq = 1;
552 551
553 err = rx8025_sysfs_register(&client->dev); 552 err = rx8025_sysfs_register(&client->dev);