hwmon: (nsa320-hwmon) Remove redundant of_match_ptr()
authorRuan Jinjie <ruanjinjie@huawei.com>
Thu, 10 Aug 2023 06:26:35 +0000 (14:26 +0800)
committerGuenter Roeck <linux@roeck-us.net>
Mon, 21 Aug 2023 13:04:31 +0000 (06:04 -0700)
commit7d9be29d8382030266c88a732a82d3bbc6fb0c5f
tree019eceea1768391f11e1691649b0f9b5ede6b7e7
parent1030892c4427e503b32ec46f88179e9138cdbf4e
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 <ruanjinjie@huawei.com>
Link: https://lore.kernel.org/r/20230810062635.1947552-1-ruanjinjie@huawei.com
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
drivers/hwmon/nsa320-hwmon.c