Re: [PATCH 1/3] regulator: pca9450: Add SD_VSEL GPIO for LDO5

From: Mark Brown
Date: Thu Feb 11 2021 - 08:27:37 EST


On Thu, Feb 11, 2021 at 11:55:28AM +0100, Schrempf Frieder wrote:

> + if (IS_ERR(pca9450->sd_vsel_gpio)) {
> + dev_err(&i2c->dev, "Failed to get SD_VSEL GPIO\n");

Not critical but it's generally better to display the error code when
logging an error to aid in diagnostics.

Attachment: signature.asc
Description: PGP signature