]> git.kernelconcepts.de Git - karo-tx-linux.git/commitdiff
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 340133a5d90777c152985ce308a7e7422014366e..f9b86b92943ff499292e9c20ad9e35e416c349bf 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);