Loading drivers/rtc/rtc-pcf85063.c +2 −10 Original line number Diff line number Diff line Loading @@ -207,8 +207,7 @@ static int pcf85063_load_capacitance(struct i2c_client *client) return rc; } static int pcf85063_probe(struct i2c_client *client, const struct i2c_device_id *id) static int pcf85063_probe(struct i2c_client *client) { struct rtc_device *rtc; int err; Loading Loading @@ -236,12 +235,6 @@ static int pcf85063_probe(struct i2c_client *client, return PTR_ERR_OR_ZERO(rtc); } static const struct i2c_device_id pcf85063_id[] = { { "pcf85063", 0 }, { } }; MODULE_DEVICE_TABLE(i2c, pcf85063_id); #ifdef CONFIG_OF static const struct of_device_id pcf85063_of_match[] = { { .compatible = "nxp,pcf85063" }, Loading @@ -255,8 +248,7 @@ static struct i2c_driver pcf85063_driver = { .name = "rtc-pcf85063", .of_match_table = of_match_ptr(pcf85063_of_match), }, .probe = pcf85063_probe, .id_table = pcf85063_id, .probe_new = pcf85063_probe, }; module_i2c_driver(pcf85063_driver); Loading Loading
drivers/rtc/rtc-pcf85063.c +2 −10 Original line number Diff line number Diff line Loading @@ -207,8 +207,7 @@ static int pcf85063_load_capacitance(struct i2c_client *client) return rc; } static int pcf85063_probe(struct i2c_client *client, const struct i2c_device_id *id) static int pcf85063_probe(struct i2c_client *client) { struct rtc_device *rtc; int err; Loading Loading @@ -236,12 +235,6 @@ static int pcf85063_probe(struct i2c_client *client, return PTR_ERR_OR_ZERO(rtc); } static const struct i2c_device_id pcf85063_id[] = { { "pcf85063", 0 }, { } }; MODULE_DEVICE_TABLE(i2c, pcf85063_id); #ifdef CONFIG_OF static const struct of_device_id pcf85063_of_match[] = { { .compatible = "nxp,pcf85063" }, Loading @@ -255,8 +248,7 @@ static struct i2c_driver pcf85063_driver = { .name = "rtc-pcf85063", .of_match_table = of_match_ptr(pcf85063_of_match), }, .probe = pcf85063_probe, .id_table = pcf85063_id, .probe_new = pcf85063_probe, }; module_i2c_driver(pcf85063_driver); Loading