RE: [PATCH] iio: ad5770r: make devicetree property reading consistent

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

 



> From: Andy Shevchenko <andy.shevchenko@xxxxxxxxx>
> Sent: Wednesday, August 11, 2021 6:04 PM
> To: Sa, Nuno <Nuno.Sa@xxxxxxxxxx>
> Cc: linux-iio <linux-iio@xxxxxxxxxxxxxxx>; Jonathan Cameron
> <jic23@xxxxxxxxxx>; Hennerich, Michael
> <Michael.Hennerich@xxxxxxxxxx>; Lars-Peter Clausen
> <lars@xxxxxxxxxx>
> Subject: Re: [PATCH] iio: ad5770r: make devicetree property reading
> consistent
> 
> On Wed, Aug 11, 2021 at 10:46 AM Nuno Sá <nuno.sa@xxxxxxxxxx>
> wrote:
> >
> > The bindings file for this driver is defining the property as 'reg' but
> > the driver was reading it with the 'num' name. This patches makes
> the
> 
> "This patches makes the..." --> "Make the..."
> 
> > driver consistent with what is defined in the bindings.
> 
> While it seems okay, it may be now a chicken-egg issue (somebody
> created a DT with "num" property).
> 

Arghh, I see. Well, maybe let's go the other way around and change the
bindings doc to 'num'?

- Nuno Sá




[Index of Archives]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Input]     [Linux Kernel]     [Linux SCSI]     [X.org]

  Powered by Linux