[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20140708141126.GW30458@sirena.org.uk>
Date: Tue, 8 Jul 2014 16:11:26 +0200
From: Mark Brown <broonie@...nel.org>
To: Keerthy <j-keerthy@...com>
Cc: devicetree@...r.kernel.org, linux-kernel@...r.kernel.org,
linux-omap@...r.kernel.org, mark.rutland@....com,
galak@...eaurora.org, robh+dt@...nel.org, linux@....linux.org.uk,
balbi@...com, tony@...mide.com, kishon@...com
Subject: Re: [PATCH v2 6/7] regulator: tps65218: Add get_voltage ops for
dcdc5 and dcdc6
On Tue, Jul 08, 2014 at 03:46:36PM +0530, Keerthy wrote:
> +static int tps65218_pmic_dcdc56_get_voltage(struct regulator_dev *dev)
> +{
> + struct tps65218 *tps = rdev_get_drvdata(dev);
> + unsigned int rid = rdev_get_id(dev);
> +
> + return tps->info[rid]->min_uV;
> +}
Set fixed_uV in the descriptor.
Download attachment "signature.asc" of type "application/pgp-signature" (837 bytes)
Powered by blists - more mailing lists