Skip to content

Commit 0003732

Browse files
PeterZhu789lag-linaro
authored andcommitted
mfd: act8945a: 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 6192a8a commit 0003732

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

drivers/mfd/act8945a.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ MODULE_DEVICE_TABLE(of, act8945a_of_match);
6868
static struct i2c_driver act8945a_i2c_driver = {
6969
.driver = {
7070
.name = "act8945a",
71-
.of_match_table = of_match_ptr(act8945a_of_match),
71+
.of_match_table = act8945a_of_match,
7272
},
7373
.probe = act8945a_i2c_probe,
7474
.id_table = act8945a_i2c_id,

0 commit comments

Comments
 (0)