Re: [PATCH v1 2/2] misc: adps990x: convert to OF

From: Arnd Bergmann
Date: Mon Jul 31 2023 - 09:18:53 EST


On Mon, Jul 31, 2023, at 13:02, Svyatoslav Ryhel wrote:
> Add ability to use device tree bindings keeping existing setup.

I see that there are no more in-tree users of the old
apds990x_platform_data, so I think it would be best to completely
remove that codepath and merge that structure into struct
apds990x_chip, to simplify the probing and avoid the extra
allocation.

Arnd