Re: [PATCH v6 5/5] mfd: max77541: Add ADI MAX77541/MAX77540 PMIC Support

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

 



On Mon, Apr 03, 2023 at 03:09:50PM +0100, Lee Jones wrote:
> On Mon, 03 Apr 2023, Sahin, Okan wrote:

...


> > In fact, one of the maintainers suggested assigning chip_info to data
> > instead of enumeration. Then I added chip_info and put devices into
> > sub-structure above. I will replace chip_info with id structure in max77541
> > device structure, right? I will use enumeration for data as I will assign
> > it to id, and distinguish different devices.
> 
> Yes, that's correct.  Please remove chip_info altogether.

Then it will provoke casting in the OF ID table which I believe is not what
we want. I would agree on your first suggestion to have a plain number in I²C
ID table, but I'm against it in OF and/or ACPI ID table.

-- 
With Best Regards,
Andy Shevchenko





[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