Re: [PATCH] mfd: max77541: Simplify probe()

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Mon, Aug 28, 2023 at 11:36:54AM +0000, Biju Das wrote:
> > On Sat, Aug 26, 2023 at 10:10:20AM +0100, Biju Das wrote:

...

> > > -		return -EINVAL;
> > > +		return -ENODEV;
> > 
> > Why?
> 
> If I remember correctly, previously you mentioned to return -ENODEV
> for non-match. I will return -EINVAL.

Maybe I was unclear, I meant to return -ENODEV, if this is a _new_ code.
For the existing one, please preserve the error code.

-- 
With Best Regards,
Andy Shevchenko





[Index of Archives]     [Linux Samsung SOC]     [Linux Wireless]     [Linux Kernel]     [ATH6KL]     [Linux Bluetooth]     [Linux Netdev]     [Kernel Newbies]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Samba]     [Device Mapper]

  Powered by Linux