[PATCH RFC 07/10] PM / wakeup : Introduce device_child_may_wakeup

srinivas kandagatla srinivas.kandagatla at st.com
Tue Nov 12 09:09:01 EST 2013


On 12/11/13 14:20, Rafael J. Wysocki wrote:
>>  
>> > +/* callback for device_child_may_wakeup */
>> > +static int __device_child_may_wakeup(struct device *dev, void *c)
>> > +{
>> > +	return device_may_wakeup(dev);
>> > +}
> This doesn't have anything to do with children in principle, so please call
> it differently.  Something like device_may_wakeup_cb() would work for me (and
> then you may not need the comment even).

Thanks Rafael, I will fix this in next version.
> 
> Thanks!
> 
>> > +
>> > +/**




More information about the linux-arm-kernel mailing list