Re: [PATCH 2/3] regulator: dummy: convert to use the faux bus

From: Mark Brown
Date: Mon Feb 03 2025 - 11:12:06 EST


On Mon, Feb 03, 2025 at 04:46:02PM +0100, Greg Kroah-Hartman wrote:
> On Mon, Feb 03, 2025 at 03:39:06PM +0000, Mark Brown wrote:
> > On Mon, Feb 03, 2025 at 03:25:18PM +0100, Greg Kroah-Hartman wrote:

> > > The dummy regulator driver does not need to create a platform device, it
> > > only did so because it was simple to do. Change it over to use the
> > > faux bus instead as this is NOT a real platform device, and it makes
> > > the code even smaller than before.

> > No, they did this because you explicitly asked that this be done....

> I did? What was it attempting to be before this? I don't remember that
> at all, sorry.

Yeah, there were some things where people were creating custom buses for
internal uses like this which you pushed back on due to code duplication
- you said to just use platform bus since the bus code looked identical.

Attachment: signature.asc
Description: PGP signature