Skip to content

Commit 7d9be29

Browse files
Ruan Jinjiegroeck
authored andcommitted
hwmon: (nsa320-hwmon) 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: Guenter Roeck <[email protected]>
1 parent 1030892 commit 7d9be29

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

drivers/hwmon/nsa320-hwmon.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -191,7 +191,7 @@ static struct platform_driver nsa320_hwmon_driver = {
191191
.probe = nsa320_hwmon_probe,
192192
.driver = {
193193
.name = "nsa320-hwmon",
194-
.of_match_table = of_match_ptr(of_nsa320_hwmon_match),
194+
.of_match_table = of_nsa320_hwmon_match,
195195
},
196196
};
197197

0 commit comments

Comments
 (0)