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

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

 



Hi Andy Shevchenko,

> Subject: Re: [PATCH] mfd: max77541: Simplify probe()
> 
> On Sat, Aug 26, 2023 at 10:10:20AM +0100, Biju Das wrote:
> > Simplify probe() by replacing device_get_match_data() and ID lookup
> > for retrieving match data by i2c_get_match_data().
> >
> > While at it, drop leading commas from OF table.
> 
> ...
> 
> > -		return -EINVAL;
> > +		return -ENODEV;
> 
> Why?

If I remember correctly, previously you mentioned to return -ENODEV
for non-match. I will return -EINVAL.

Cheers,
Biju




[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