]> 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)
commit47e31fa1e45a5136ed2e3cc537a9407dd632f795
tree733c8c73c501b4bfeb783bfed759c416c9a9cc63
parent77d0b3a8033c649b9c5eef9f06a20469a9d5d569
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