]> www.infradead.org Git - users/jedix/linux-maple.git/commit
regulator: dummy: convert to use the faux device interface
authorGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 10 Feb 2025 12:30:27 +0000 (13:30 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 14 Mar 2025 08:10:29 +0000 (09:10 +0100)
commitdcd2a9a5550ef556c8fc11601a0f729fb71ead5d
treee7e24918f4696054580b4f321a6421b10f037cd0
parent6f119e3da79ce5e586340059403ab77201c1bb45
regulator: dummy: convert to use the faux device interface

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.

Reviewed-by: Mark Brown <broonie@kernel.org>
Reviewed-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
Link: https://lore.kernel.org/r/2025021027-outclass-stress-59dd@gregkh
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/regulator/dummy.c