RE: [PATCH 1/2] regulator: tps65090: Use IS_ERR to check return value of regulator_register
> rdev = regulator_register(&ri->desc, &pdev->dev, > &tps_pdata->regulator, ri, NULL); > - if (IS_ERR_OR_NULL(rdev)) { > + if (IS_ERR(rdev)) { Thanks Axel, for this patch. Just today I saw Mark's mail and about to make this change.