diff options
author | Alexandre Belloni <alexandre.belloni@free-electrons.com> | 2015-08-04 10:56:50 +0200 |
---|---|---|
committer | Alexandre Belloni <alexandre.belloni@free-electrons.com> | 2015-09-05 13:19:12 +0200 |
commit | 4b33d36b670e7166e8a082e050bfb241ba65271f (patch) | |
tree | 88d09d41674b08f35d6db88a47acea1a90eea602 /drivers/rtc/rtc-rx8025.c | |
parent | 8c4a4467cda299491eff64640c891a0b2926cb76 (diff) | |
download | linux-4b33d36b670e7166e8a082e050bfb241ba65271f.tar.gz linux-4b33d36b670e7166e8a082e050bfb241ba65271f.tar.bz2 linux-4b33d36b670e7166e8a082e050bfb241ba65271f.zip |
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/rtc-rx8025.c')
-rw-r--r-- | drivers/rtc/rtc-rx8025.c | 1 |
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, } } - rx8025->rtc->irq_freq = 1; rx8025->rtc->max_user_freq = 1; err = rx8025_sysfs_register(&client->dev); |