[PATCH] bus: simple-pm-bus: convert bool SIMPLE_PM_BUS to tristate

Rafael J. Wysocki rjw at rjwysocki.net
Sun Dec 17 10:01:08 PST 2017


On Friday, December 1, 2017 8:02:33 AM CET Simon Horman wrote:
> On Thu, Nov 30, 2017 at 12:57:00PM +0100, Geert Uytterhoeven wrote:
> > From: Paul Gortmaker <paul.gortmaker at windriver.com>
> > 
> > The Kconfig currently controlling compilation of this code is:
> > 
> > config SIMPLE_PM_BUS
> >         bool "Simple Power-Managed Bus Driver"
> > 
> > ...meaning that it currently is not being built as a module by anyone.
> > 
> > In removing the orphaned modular support in a previous patch set,
> > Geert indicated he'd rather see this code converted to tristate.
> > 
> > I normally don't do that because it extends functionality that I
> > can't easily run time test or even know if the use case makes sense,
> > but since in this case the author has nominated it as such, we do
> > the conversion here.
> > 
> > Note that doesn't change the lack of run time testing ; this change
> > is only tested for sucessful compile and modpost.
> > 
> > [geert: Ethernet is probed successfully on sh73a0/kzm9g after
> >         insmodding simple-pm-bus.ko]
> > 
> > Cc: Kevin Hilman <khilman at linaro.org>
> > Cc: Simon Horman <horms+renesas at verge.net.au>
> > Cc: linux-arm-kernel at lists.infradead.org
> > Signed-off-by: Paul Gortmaker <paul.gortmaker at windriver.com>
> > Tested-by: Geert Uytterhoeven <geert+renesas at glider.be>
> > Signed-off-by: Geert Uytterhoeven <geert+renesas at glider.be>
> 
> Acked-by: Simon Horman <horms+renesas at verge.net.au>

Applied, thanks!




More information about the linux-arm-kernel mailing list