hwmon: (it87) Check for a valid chip before using force_id
Check there is a chip before using force_id parameter as there is no value in registering a non-existent chip Signed-off-by:Ahmad Khalifa <ahmad@khalifa.ws> Link: https://lore.kernel.org/r/20221004210100.540120-3-ahmad@khalifa.ws Signed-off-by:
Guenter Roeck <linux@roeck-us.net>
Loading
Please sign in to comment