[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <50726B84.4020603@nvidia.com>
Date: Mon, 8 Oct 2012 11:28:28 +0530
From: Laxman Dewangan <ldewangan@...dia.com>
To: Venu Byravarasu <vbyravarasu@...dia.com>
CC: "broonie@...nsource.wolfsonmicro.com"
<broonie@...nsource.wolfsonmicro.com>, "lrg@...com" <lrg@...com>,
"sameo@...ux.intel.com" <sameo@...ux.intel.com>,
"axel.lin@...il.com" <axel.lin@...il.com>,
"linux-kernel@...r.kernel.org" <linux-kernel@...r.kernel.org>
Subject: Re: [PATCH 5/5] regulator: tps65090: add external control support
for DCDC
On Monday 08 October 2012 11:15 AM, Venu Byravarasu wrote:
>> -----Original Message-----
>> From: Laxman Dewangan
>> Sent: Saturday, October 06, 2012 8:48 PM
>> To: broonie@...nsource.wolfsonmicro.com; lrg@...com;
>> sameo@...ux.intel.com
>> Cc: Venu Byravarasu; axel.lin@...il.com; linux-kernel@...r.kernel.org;
>> Laxman Dewangan
>> Subject: [PATCH 5/5] regulator: tps65090: add external control support for
>> DCDC
>>
>>
>> static int tps65090_voltage_get_voltage(struct regulator_dev *rdev)
>> {
>> struct tps65090_regulator *ri = rdev_get_drvdata(rdev);
>> @@ -54,12 +67,17 @@ static int tps65090_voltage_list_voltage(struct
>> regulator_dev *rdev,
>> return ri->microvolts;
>> }
>>
>> -static struct regulator_ops tps65090_ops = {
>> +static struct regulator_ops tps65090_ext_control_ops = {
> Where tps65090_ext_control_ops are used?
>
It is used when external control is enabled.
I have the code as
ri->desc->ops = &tps65090_ext_control_ops;
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists