[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20121122012757.GF4371@opensource.wolfsonmicro.com>
Date: Thu, 22 Nov 2012 10:27:59 +0900
From: Mark Brown <broonie@...nsource.wolfsonmicro.com>
To: Guennadi Liakhovetski <g.liakhovetski@....de>
Cc: linux-sh@...r.kernel.org, Magnus Damm <magnus.damm@...il.com>,
Samuel Ortiz <sameo@...ux.intel.com>,
linux-kernel@...r.kernel.org
Subject: Re: [PATCH 2/2] regulator: add a regulator driver for the AS3711 PMIC
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 current device state for diagnostic purposes with no
configuration.
Download attachment "signature.asc" of type "application/pgp-signature" (837 bytes)
Powered by blists - more mailing lists