Skip to content

Commit 59cf381

Browse files
PeterZhu789lag-linaro
authored andcommitted
mfd: rn5t618: Remove redundant of_match_ptr()
The driver depends on CONFIG_OF, so it is not necessary to use of_match_ptr() here. We remove of_match_ptr() here. Signed-off-by: Zhu Wang <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Lee Jones <[email protected]>
1 parent d20642a commit 59cf381

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

drivers/mfd/rn5t618.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -277,7 +277,7 @@ static SIMPLE_DEV_PM_OPS(rn5t618_i2c_dev_pm_ops,
277277
static struct i2c_driver rn5t618_i2c_driver = {
278278
.driver = {
279279
.name = "rn5t618",
280-
.of_match_table = of_match_ptr(rn5t618_of_match),
280+
.of_match_table = rn5t618_of_match,
281281
.pm = &rn5t618_i2c_dev_pm_ops,
282282
},
283283
.probe = rn5t618_i2c_probe,

0 commit comments

Comments
 (0)