Re: [PATCH 14/22] OMAP2+: voltage: split voltage controller (VC) code into dedicated layer

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Jean Pihet <jean.pihet@xxxxxxxxxxxxxx> writes:

> Kevin,
>
> On Mon, Aug 29, 2011 at 7:35 PM, Kevin Hilman <khilman@xxxxxx> wrote:
>> As part of the voltage layer cleanup, split out VC specific code into
>> a dedicated VC layer.  This patch primarily just moves VC code from
>> voltage.c into vc.c, and adds prototypes to vc.h.
>>
>> No functional changes.
>>
>> For readability, each function was given a local 'vc' pointer:
>>
>>    struct omap_vc_instance_data *vc = voltdm->vdd->vc_data;
>>
>> and a global replace of s/vdd->vc_data/vc/ was done.
>>
>> Also vc_init was renamed to vc_init_channel to reflect that this is
>> per-VC channel initializtion.
>>
>> Signed-off-by: Kevin Hilman <khilman@xxxxxx>
>> ---
>>  arch/arm/mach-omap2/Makefile  |    2 +-
>>  arch/arm/mach-omap2/vc.c      |  276 +++++++++++++++++++++++++++++++++++++++++
>>  arch/arm/mach-omap2/vc.h      |   12 ++
>>  arch/arm/mach-omap2/voltage.c |  264 +--------------------------------------
>>  4 files changed, 293 insertions(+), 261 deletions(-)
>>  create mode 100644 arch/arm/mach-omap2/vc.c
>>
> ...
>
>> diff --git a/arch/arm/mach-omap2/vc.c b/arch/arm/mach-omap2/vc.c
>> new file mode 100644
>> index 0000000..98f5a4b
>> --- /dev/null
>> +++ b/arch/arm/mach-omap2/vc.c
>> @@ -0,0 +1,276 @@
>
> The copyright notice is missing.
>

oops, will add.

Thanks,

Kevin
--
To unsubscribe from this list: send the line "unsubscribe linux-omap" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux Arm (vger)]     [ARM Kernel]     [ARM MSM]     [Linux Tegra]     [Linux WPAN Networking]     [Linux Wireless Networking]     [Maemo Users]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite Trails]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux