Skip to content

Commit 6192a8a

Browse files
PeterZhu789lag-linaro
authored andcommitted
mfd: rsmu_spi: 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 23fa942 commit 6192a8a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

drivers/mfd/rsmu_spi.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -262,7 +262,7 @@ MODULE_DEVICE_TABLE(of, rsmu_spi_of_match);
262262
static struct spi_driver rsmu_spi_driver = {
263263
.driver = {
264264
.name = "rsmu-spi",
265-
.of_match_table = of_match_ptr(rsmu_spi_of_match),
265+
.of_match_table = rsmu_spi_of_match,
266266
},
267267
.probe = rsmu_spi_probe,
268268
.remove = rsmu_spi_remove,

0 commit comments

Comments
 (0)