On Sat, 20 May 2023, Christophe JAILLET wrote: > If devm_gpiod_get_optional() fails, some resources need to be released, as > already done in the .remove() function. > > While at it, remove the unneeded error code from a dev_err_probe() call. > It is already added in a human readable way by dev_err_probe() itself. > > Fixes: 6a0ee2a61a31 ("mfd: wcd934x: Replace legacy gpio interface for gpiod") > Signed-off-by: Christophe JAILLET <christophe.jaillet@xxxxxxxxxx> > --- > drivers/mfd/wcd934x.c | 9 +++++++-- > 1 file changed, 7 insertions(+), 2 deletions(-) Applied, thanks -- Lee Jones [李琼斯]