diff options
author | Minghao Chi <chi.minghao@zte.com.cn> | 2022-03-15 02:34:12 +0000 |
---|---|---|
committer | Guenter Roeck <linux@roeck-us.net> | 2022-03-15 16:30:56 -0700 |
commit | fd6ca3f5b80f6dda381fe84211be3b491f28bf0f (patch) | |
tree | 3bb3988517d007d728aa57e682214697415ec444 /lib/math | |
parent | 5d4a2ea96b79e7e11f1551130bb9166258b71243 (diff) | |
download | linux-stable-fd6ca3f5b80f6dda381fe84211be3b491f28bf0f.tar.gz linux-stable-fd6ca3f5b80f6dda381fe84211be3b491f28bf0f.tar.bz2 linux-stable-fd6ca3f5b80f6dda381fe84211be3b491f28bf0f.zip |
hwmon: (scpi-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 <chi.minghao@zte.com.cn>
Reviewed-by: Jean Delvare <jdelvare@suse.de>
Link: https://lore.kernel.org/r/20220315023412.2118415-1-chi.minghao@zte.com.cn
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
Diffstat (limited to 'lib/math')
0 files changed, 0 insertions, 0 deletions