Re: [PATCH v2] regulator: axp20x: Add module alias

From: Maxime Ripard
Date: Mon Aug 03 2015 - 05:48:11 EST


On Mon, Aug 03, 2015 at 10:51:49AM +0200, Paul Bolle wrote:
> On za, 2015-08-01 at 18:13 +0100, Ian Campbell wrote:
> > This allows the module to be autoloaded.
> >
> > Together with 07949bf9c63c ("cpufreq: dt: allow driver to boot
> > automatically") this is sufficient to allow a modular kernel (such
> > as Debian's) to enable cpufreq on a Cubietruck.
>
> > --- a/drivers/regulator/axp20x-regulator.c
> > +++ b/drivers/regulator/axp20x-regulator.c
>
> > +MODULE_ALIAS("platform:axp20x-regulator");
>
> Should this eventually go into stable?
>
> The regulator driver for AXP20x was added in v3.16, so this patch could
> currently be relevant for the v3.18.y and v4.1.y trees. (In those trees
> the corresponding platform devices, which are needed to make this alias
> useful, appear to be present.)
>
> Same question for 07949bf9c63c ("cpufreq: dt: allow driver to boot
> automatically"), I guess.

Yes, it probably should.

Maxime

--
Maxime Ripard, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com

Attachment: signature.asc
Description: Digital signature