[RFC] pinctrl: Replace list_groups() with get_groups_count()

Stephen Warren swarren at wwwdotorg.org
Thu Mar 29 13:48:14 EDT 2012


On 03/29/2012 11:31 AM, viresh kumar wrote:
> On Mar 29, 2012 10:56 PM, Stephen Warren wrote:
>> On 03/29/2012 10:34 AM, viresh kumar wrote:
...
>> I vaguely recall raising the same issue before, and Linus saying he
>> wanted to be consistent with similar list_*() functions in other
>> subsystems, but personally I'd prefer to evaluate this aspect of the
>> pinctrl subsystem on its own.
> 
> Which other subsystems have such stuff?

For example. include/linux/regulator/driver.h struct regulator_ops field
list_voltage().



More information about the linux-arm-kernel mailing list