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)
commit92abe50490d36ac2ee56f63db24adee219ed63c5
tree733c8c73c501b4bfeb783bfed759c416c9a9cc63
parent007e433cf0373334a2bef1b0c9831647184906ba
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