rtc: rx8025: remove useless initialization
authorAlexandre Belloni <alexandre.belloni@free-electrons.com>
Tue, 4 Aug 2015 08:56:50 +0000 (10:56 +0200)
committerAlexandre Belloni <alexandre.belloni@free-electrons.com>
Sat, 5 Sep 2015 11:19:12 +0000 (13:19 +0200)
irq_freq is already initialized to 1 in rtc_device_register()

Signed-off-by: Alexandre Belloni <alexandre.belloni@free-electrons.com>
drivers/rtc/rtc-rx8025.c

index 340133a..f9b86b9 100644 (file)
@@ -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);