[PATCH] regulator mc13783: bail out without platform data

Mark Brown broonie at opensource.wolfsonmicro.com
Wed Feb 29 18:19:51 EST 2012


On Wed, Feb 29, 2012 at 09:01:40AM +0100, Sascha Hauer wrote:
> the platform data pointer is used without checking it. Bail out
> in the driver instead of crashing the kernel.

Applied, thanks.  Ideally the platform data would just specify the
constraints and the driver would still be able to register the
regulators even without constriants being provided to allow diagnostics.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 836 bytes
Desc: Digital signature
URL: <http://lists.infradead.org/pipermail/linux-arm-kernel/attachments/20120229/42496cfb/attachment.sig>


More information about the linux-arm-kernel mailing list