Re: [PATCH] regulator: Move lp3971 regulator driver to subsys_initcall()

From: Axel Lin
Date: Wed Nov 17 2010 - 03:22:03 EST


2010/11/17 Wolfram Sang <w.sang@xxxxxxxxxxxxxx>:
> On Wed, Nov 17, 2010 at 11:00:44AM +0800, Axel Lin wrote:
>> Regulators need to be available early in init in order to allow them
>> to be available for consumers when requested.
>>
>> Other regulator drivers are already moved to subsys_initcall(),
>> looks like only lp3971 is missing.
>
> My 2 cents: it is safer to create such patches with real HW when there is a
> need (we deal with a similar situation in i2c). Janitorial might do more harm
> than good. Another option might be to call the patch a RFC?

Thanks for the comments.
I appreciate if someone who has this device can test it.
I only have a similar device ( lp3972 ) and it works with using
subsys_initcall().

Regards,
Axel
>
> Regards,
>
>   Wolfram
>
> --
> Pengutronix e.K.                           | Wolfram Sang                |
> Industrial Linux Solutions                 | http://www.pengutronix.de/  |
>
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.4.9 (GNU/Linux)
>
> iEYEARECAAYFAkzjjlUACgkQD27XaX1/VRsF2QCfQn/bCEZSb0qkn1aj9SpqxsST
> zlMAoIyd6I+c4XitD1KRHe53/n3wlXOQ
> =MQc1
> -----END PGP SIGNATURE-----
>
>
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/