Re: [PATCH v5 04/14] mfd: lm3533: Pass only regmap and light sensor presence to child devices

Johan Hovold <[email protected]>
Newsgroups org.freedesktop.lists.dri-devel,org.kernel.vger.linux-devicetree,org.kernel.vger.linux-fbdev,org.kernel.vger.linux-iio,org.kernel.vger.linux-kernel,org.kernel.vger.linux-leds
Message-ID <[email protected]>
On Tue, Jul 14, 2026 at 04:28:24PM +0300, Svyatoslav Ryhel wrote:
> пт, 3 лип. 2026 р. о 12:50 Johan Hovold <[email protected]> пише:
> >
> > On Wed, Jun 17, 2026 at 11:00:21AM +0300, Svyatoslav Ryhel wrote:
> > > Instead of passing the entire lm3533 core data structure, only pass the
> > > regmap and the light sensor presence flag to child devices.
> >
> > Again, why?
> >
> 
> Because none of the child cells needs entire parents private
> structure, regmap is all that is used.

Just because you can do something doesn't necessarily mean you should.

Johan
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.