[LPIA Hardy LUM] Disable RTC wake alarm to reduce power in Hibernate - attempt #3

Andy Whitcroft apw at canonical.com
Wed Mar 18 14:40:55 UTC 2009


On Wed, Mar 18, 2009 at 02:38:41PM +0000, Andy Whitcroft wrote:
> >  static SENSOR_DEVICE_ATTR(wwan,                 /* name */
> > -                          S_IWUSR | S_IRUGO,    /* mode */
> > -                          wwan_show,            /* show */
> > -                          wwan_set,             /* store */
> > -                          0);                   /* index */
> > +			  S_IWUSR | S_IRUGO,    /* mode */
> > +			  wwan_show,            /* show */
> > +			  wwan_set,             /* store */
> > +			  2);                   /* index */
> 
> Ok these are all cleanups right?  and should be in the previous patch?

Well the reindent should be, and the change from 0 -> 2 should be in
this one.

> >  static SENSOR_DEVICE_ATTR(ethernet,             /* name */
> > -                          S_IWUSR | S_IRUGO,    /* mode */
> > -                          ethernet_show,        /* show */
> > -                          ethernet_set,         /* store */
> > -                          0);                   /* index */
> > +			  S_IWUSR | S_IRUGO,    /* mode */
> > +			  ethernet_show,        /* show */
> > +			  ethernet_set,         /* store */
> > +			  3);                   /* index */
> > +

-apw




More information about the kernel-team mailing list