On Sat, 23 Sep 2023 04:48:06 -0700, Harshit Mogalapalli wrote: > The value of ret is zero when passed to dev_error_probe(), we are passing > zero to dev_err_probe() is a success which is incorrect. > > Fix this by getting the error code using PTR_ERR(). > > Applied, thanks! [1/1] power: supply: mm8013: Fix error code in mm8013_probe() commit: 43ee22422db545800b8bf2c24ef53d040372fc7a Best regards, -- Sebastian Reichel <sebastian.reichel@xxxxxxxxxxxxx>