]> git.baikalelectronics.ru Git - kernel.git/commit
hwmon: (vexpress-hwmon) Use of_device_get_match_data()
authorMinghao Chi (CGEL ZTE) <chi.minghao@zte.com.cn>
Mon, 7 Mar 2022 03:36:31 +0000 (03:36 +0000)
committerGuenter Roeck <linux@roeck-us.net>
Tue, 8 Mar 2022 17:15:22 +0000 (09:15 -0800)
commit6e8c712e7b40850a081821e88e5052605f1523f2
tree733c8c73c501b4bfeb783bfed759c416c9a9cc63
parent68c04c98ddb01c506d663ca6360abca7a7229413
hwmon: (vexpress-hwmon) Use of_device_get_match_data()

Use of_device_get_match_data() to simplify the code.

Reported-by: Zeal Robot <zealci@zte.com.cn>
Signed-off-by: Minghao Chi (CGEL ZTE) <chi.minghao@zte.com.cn>
Link: https://lore.kernel.org/r/20220307033631.2075160-1-chi.minghao@zte.com.cn
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
drivers/hwmon/vexpress-hwmon.c