Skip to content

Commit 58f3e83

Browse files
Uwe Kleine-Königalexandrebelloni
authored andcommitted
rtc: isl12026: Drop "_new" from probe callback name
The driver was introduced when .probe_new was the right probe callback to use for i2c drivers. Today .probe is the right one (again) and the driver was already switched in commit 31b0cec ("rtc: Switch i2c drivers back to use .probe()") but the name continued to include "_new" in its name. To prevent code readers wondering about what might be new here, drop that irritating part of the name. Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de> Link: https://lore.kernel.org/r/20230725070429.383070-1-u.kleine-koenig@pengutronix.de Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
1 parent 48144c2 commit 58f3e83

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

drivers/rtc/rtc-isl12026.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -428,7 +428,7 @@ static void isl12026_force_power_modes(struct i2c_client *client)
428428
}
429429
}
430430

431-
static int isl12026_probe_new(struct i2c_client *client)
431+
static int isl12026_probe(struct i2c_client *client)
432432
{
433433
struct isl12026 *priv;
434434
int ret;
@@ -489,7 +489,7 @@ static struct i2c_driver isl12026_driver = {
489489
.name = "rtc-isl12026",
490490
.of_match_table = isl12026_dt_match,
491491
},
492-
.probe = isl12026_probe_new,
492+
.probe = isl12026_probe,
493493
.remove = isl12026_remove,
494494
};
495495

0 commit comments

Comments
 (0)