On Tue, Jul 25, 2023 at 08:15:07PM +0800, Yang Yingliang wrote: > i2c_new_client_device() never returns NULL pointer, it will return > ERR_PTR() when it fails, so replace the check with IS_ERR() and > use PTR_ERR() as return code. Isn't the same fix to one that was in the mailing lists a few days ago? Anyway, FWIW, Reviewed-by: Andy Shevchenko <andriy.shevchenko@xxxxxxxxxxxxxxx> -- With Best Regards, Andy Shevchenko