Skip to content
Commit fd6ca3f5 authored by Minghao Chi's avatar Minghao Chi Committed by Guenter Roeck
Browse files

hwmon: (scpi-hwmon): Use of_device_get_match_data()



Use of_device_get_match_data() to simplify the code.

Reported-by: default avatarZeal Robot <zealci@zte.com.cn>
Signed-off-by: default avatarMinghao Chi <chi.minghao@zte.com.cn>
Reviewed-by: default avatarJean Delvare <jdelvare@suse.de>
Link: https://lore.kernel.org/r/20220315023412.2118415-1-chi.minghao@zte.com.cn


Signed-off-by: default avatarGuenter Roeck <linux@roeck-us.net>
parent 5d4a2ea9
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment