Re: [PATCH/RFC 13/19] OMAP2+: voltage: keep track of powerdomains in each voltagedomain

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

 



On Fri, Mar 25, 2011 at 4:56 PM, Kevin Hilman <khilman@xxxxxx> wrote:
> Jean Pihet <jean.pihet@xxxxxxxxxxxxxx> writes:
>
> [...]
>
>>> +
>>> +/**
>>> + * voltdm_for_each - call function on each registered voltagedomain
>>> + * @fn: callback function *
>>> + *
>>> + * Call the supplied function @fn for each registered voltagedomain.
>>> + * The callback function @fn can return anything but 0 to bail out
>>> + * early from the iterator.  Returns the last return value of the
>>> + * callback function, which should be 0 for success or anything else
>>> + * to indicate failure; or -EINVAL if the function pointer is null.
>>
>> The function description does not match the prototype.
>>
>
> in what way?
>
> the description is wrong in how it describes the "bail out" but I don't
> see what you mean for the prototype.
'user' is not in the list of parmaters, not it is present in the
function description.

>
> [...]
>
>>>
>>> +struct powerdomain;
>>> +
>>> +/*
>>> + * Maximum number of powerdomains that can be associated with a voltagedomain.
>>> + */
>>> +#define VOLTDM_MAX_PWRDMS             10
>> This is not used in the patch. Is it needed?
>>
>
> Nope.  Will drop.
Ok

>
> Thanks,
>
> Kevin
>

Thanks,
Jean
--
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