Re: [PATCH 2/2] regulator: add a regulator driver for the AS3711 PMIC

2012-11-22 Thread Mark Brown
On Wed, Nov 21, 2012 at 07:21:11PM +0100, Guennadi Liakhovetski wrote: > + if (!pdata) { > + dev_err(&pdev->dev, "No platform data, exiting...\n"); > + return -ENODEV; > + } There's no reason to require platform data, the driver can still support readback of the cu

[PATCH 2/2] regulator: add a regulator driver for the AS3711 PMIC

2012-11-21 Thread Guennadi Liakhovetski
This driver supports the 4 DCDC and 8 LDO regulators on the AS3711 PMIC. Signed-off-by: Guennadi Liakhovetski --- drivers/regulator/as3711-regulator.c | 381 ++ 1 files changed, 381 insertions(+), 0 deletions(-) create mode 100644 drivers/regulator/as3711-regula