diff options
author | Ruan Jinjie <[email protected]> | 2023-08-10 14:26:35 +0800 |
---|---|---|
committer | Guenter Roeck <[email protected]> | 2023-08-21 06:04:31 -0700 |
commit | 7d9be29d8382030266c88a732a82d3bbc6fb0c5f (patch) | |
tree | 019eceea1768391f11e1691649b0f9b5ede6b7e7 | |
parent | 1030892c4427e503b32ec46f88179e9138cdbf4e (diff) |
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]>
-rw-r--r-- | drivers/hwmon/nsa320-hwmon.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/hwmon/nsa320-hwmon.c b/drivers/hwmon/nsa320-hwmon.c index e26334469549..18076ba7fc14 100644 --- a/drivers/hwmon/nsa320-hwmon.c +++ b/drivers/hwmon/nsa320-hwmon.c @@ -191,7 +191,7 @@ static struct platform_driver nsa320_hwmon_driver = { .probe = nsa320_hwmon_probe, .driver = { .name = "nsa320-hwmon", - .of_match_table = of_match_ptr(of_nsa320_hwmon_match), + .of_match_table = of_nsa320_hwmon_match, }, }; |