Commit 8e922937 authored by Ruan Jinjie's avatar Ruan Jinjie Committed by Lee Jones
Browse files

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: default avatarRuan Jinjie <ruanjinjie@huawei.com>
Link: https://lore.kernel.org/r/20230808130003.4076702-1-ruanjinjie@huawei.com


Signed-off-by: default avatarLee Jones <lee@kernel.org>
parent 87ea8c7e
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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,