lkml.org 
[lkml]   [2021]   [Feb]   [11]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH 1/3] regulator: pca9450: Add SD_VSEL GPIO for LDO5
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.
[unhandled content-type:application/pgp-signature]
\
 
 \ /
  Last update: 2021-02-11 14:28    [W:0.058 / U:0.132 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site