-
Dan Carpenter authored
This code accidentally returns PTR_ERR(NULL) which is success. It should return a negative error code. Fixes: bfff546a ("regulator: Add MAX20086-MAX20089 driver") Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com> Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com> Link: https://lore.kernel.org/r/20220111072657.GK11243@kiliSigned-off-by: Mark Brown <broonie@kernel.org>
879cf800