lkml.org 
[lkml]   [2012]   [Oct]   [8]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [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@opensource.wolfsonmicro.com; lrg@ti.com;
>> sameo@linux.intel.com
>> Cc: Venu Byravarasu; axel.lin@gmail.com; linux-kernel@vger.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;


\
 
 \ /
  Last update: 2012-10-08 08:41    [W:1.383 / U:0.024 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site