Re: [PATCH 2/2] ARM: cpuidle: Document the code
From: Lorenzo Pieralisi
Date: Tue Mar 24 2015 - 15:04:04 EST
On Tue, Mar 24, 2015 at 06:51:44PM +0000, Lorenzo Pieralisi wrote:
> On Tue, Mar 24, 2015 at 09:54:02AM +0000, Daniel Lezcano wrote:
[...]
> > +/*
> > + * arm_cpuidle_init() - Initialize cpuidle_ops for a specific cpu
> > + * @cpu: the cpu to be initialized
> > + *
> > + * Initialize the cpuidle ops with the device for the cpu and then call
> > + * the cpu's idle initialization callback. This may fail if the underlying HW
> > + * is not operational.
> > + *
> > + * Returns:
> > + * 0 on success,
> > + * -ENODEV if it fails to find the cpu node in the device tree,
> > + * -EOPNOTSUPP if it does not find a registered cpuidle_ops for this cpu,
> > + * -ENOENT if it fails to find a enabled-method property,
>
> Ultra-nit: "an enabled-method"
Bah, I cannot see the wood for the trees anymore. "an enable-method".
Lorenzo
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/