Message ID | 20160829133329.5c66af98@endymion (mailing list archive) |
---|---|
State | Accepted |
Headers | show |
On Mon, Aug 29, 2016 at 01:33:29PM +0200, Jean Delvare wrote: > Remove the index comments at the end of it87_attributes_in. They > serve no purpose (as there is no reference to them in > it87_in_is_visible) and some of them were obviously wrong. > > Signed-off-by: Jean Delvare <jdelvare@suse.de> > Cc: Martin Blumenstingl <martin.blumenstingl@googlemail.com> > Cc: Guenter Roeck <linux@roeck-us.net> Applied to -next. Thanks, Guenter > --- > drivers/hwmon/it87.c | 8 ++++---- > 1 file changed, 4 insertions(+), 4 deletions(-) > > --- linux-4.7.orig/drivers/hwmon/it87.c 2016-08-29 12:04:52.926911625 +0200 > +++ linux-4.7/drivers/hwmon/it87.c 2016-08-29 13:11:57.311949805 +0200 > @@ -2011,10 +2011,10 @@ static struct attribute *it87_attributes > &sensor_dev_attr_in7_beep.dev_attr.attr, /* 39 */ > > &sensor_dev_attr_in8_input.dev_attr.attr, /* 40 */ > - &sensor_dev_attr_in9_input.dev_attr.attr, /* 41 */ > - &sensor_dev_attr_in10_input.dev_attr.attr, /* 41 */ > - &sensor_dev_attr_in11_input.dev_attr.attr, /* 41 */ > - &sensor_dev_attr_in12_input.dev_attr.attr, /* 41 */ > + &sensor_dev_attr_in9_input.dev_attr.attr, > + &sensor_dev_attr_in10_input.dev_attr.attr, > + &sensor_dev_attr_in11_input.dev_attr.attr, > + &sensor_dev_attr_in12_input.dev_attr.attr, > NULL > }; > > > -- > Jean Delvare > SUSE L3 Support -- To unsubscribe from this list: send the line "unsubscribe linux-hwmon" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html
--- linux-4.7.orig/drivers/hwmon/it87.c 2016-08-29 12:04:52.926911625 +0200 +++ linux-4.7/drivers/hwmon/it87.c 2016-08-29 13:11:57.311949805 +0200 @@ -2011,10 +2011,10 @@ static struct attribute *it87_attributes &sensor_dev_attr_in7_beep.dev_attr.attr, /* 39 */ &sensor_dev_attr_in8_input.dev_attr.attr, /* 40 */ - &sensor_dev_attr_in9_input.dev_attr.attr, /* 41 */ - &sensor_dev_attr_in10_input.dev_attr.attr, /* 41 */ - &sensor_dev_attr_in11_input.dev_attr.attr, /* 41 */ - &sensor_dev_attr_in12_input.dev_attr.attr, /* 41 */ + &sensor_dev_attr_in9_input.dev_attr.attr, + &sensor_dev_attr_in10_input.dev_attr.attr, + &sensor_dev_attr_in11_input.dev_attr.attr, + &sensor_dev_attr_in12_input.dev_attr.attr, NULL };
Remove the index comments at the end of it87_attributes_in. They serve no purpose (as there is no reference to them in it87_in_is_visible) and some of them were obviously wrong. Signed-off-by: Jean Delvare <jdelvare@suse.de> Cc: Martin Blumenstingl <martin.blumenstingl@googlemail.com> Cc: Guenter Roeck <linux@roeck-us.net> --- drivers/hwmon/it87.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-)