mirror of https://gitee.com/openkylin/linux.git
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>
This commit is contained in:
parent
8c4a4467cd
commit
4b33d36b67
|
@ -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);
|
||||
|
|
Loading…
Reference in New Issue