Re: [PATCH] hwmon: (scpi-hwmon): Use of_device_get_match_data()

From: Guenter Roeck
Date: Tue Mar 15 2022 - 19:57:00 EST


On Tue, Mar 15, 2022 at 02:34:12AM +0000, cgel.zte@xxxxxxxxx wrote:
> From: Minghao Chi <chi.minghao@xxxxxxxxxx>
>
> Use of_device_get_match_data() to simplify the code.
>
> Reported-by: Zeal Robot <zealci@xxxxxxxxxx>
> Signed-off-by: Minghao Chi <chi.minghao@xxxxxxxxxx>
> Reviewed-by: Jean Delvare <jdelvare@xxxxxxx>

Applied to hwmon-next.

Thanks,
Guenter