aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRuan Jinjie <[email protected]>2023-08-08 21:00:02 +0800
committerLee Jones <[email protected]>2023-08-22 08:07:50 +0100
commit8e922937a78d9683fe8372d8e6b02f145eb451e4 (patch)
treef84230f9b9fc980fa50384dee46a28adf67adf0f
parent87ea8c7e2d1981f9a05c1bbeb3d99861ae1ea8fb (diff)
mfd: tc3589x: Remove redundant of_match_ptr()
The driver depends on CONFIG_OF, it is not necessary to use of_match_ptr() here. Signed-off-by: Ruan Jinjie <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Lee Jones <[email protected]>
-rw-r--r--drivers/mfd/tc3589x.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/mfd/tc3589x.c b/drivers/mfd/tc3589x.c
index 16df64e3c0be..28125599fea4 100644
--- a/drivers/mfd/tc3589x.c
+++ b/drivers/mfd/tc3589x.c
@@ -483,7 +483,7 @@ static struct i2c_driver tc3589x_driver = {
.driver = {
.name = "tc3589x",
.pm = pm_sleep_ptr(&tc3589x_dev_pm_ops),
- .of_match_table = of_match_ptr(tc3589x_match),
+ .of_match_table = tc3589x_match,
},
.probe = tc3589x_probe,
.remove = tc3589x_remove,