Re: [PATCH v1 1/1] hwmon: (nct6775) Drop duplicate NULL check in ->init() and ->exit()

From: Guenter Roeck
Date: Sat Jun 11 2022 - 10:06:35 EST


On Fri, Jun 10, 2022 at 01:33:24PM +0300, Andy Shevchenko wrote:
> Since platform_device_unregister() is NULL-aware, we don't need to duplicate
> this check. Remove it and fold the rest of the code.
>
> Signed-off-by: Andy Shevchenko <andriy.shevchenko@xxxxxxxxxxxxxxx>
> Reviewed-by: Zev Weiss <zev@xxxxxxxxxxxxxxxxx>

Applied to hwmon-next.

Thanks,
Guenter