From: Jean Delvare <jdelvare@suse.de>
To: linux-hwmon@vger.kernel.org
Cc: Martin Blumenstingl <martin.blumenstingl@googlemail.com>,
Guenter Roeck <linux@roeck-us.net>
Subject: [PATCH 2/2] hwmon: (it87) Drop useless comments
Date: Mon, 29 Aug 2016 13:33:29 +0200 [thread overview]
Message-ID: <20160829133329.5c66af98@endymion> (raw)
In-Reply-To: <20160829131823.776dd67b@endymion>
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(-)
--- 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
next prev parent reply other threads:[~2016-08-29 11:33 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-08-29 11:18 [PATCH 1/2] hwmon: (it87) Add missing sysfs attribute group terminator Jean Delvare
2016-08-29 11:33 ` Jean Delvare [this message]
2016-08-29 12:34 ` [PATCH 2/2] hwmon: (it87) Drop useless comments Guenter Roeck
2016-08-29 12:30 ` [PATCH 1/2] hwmon: (it87) Add missing sysfs attribute group terminator Guenter Roeck
2016-08-29 14:42 ` Alexander Kapshuk
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20160829133329.5c66af98@endymion \
--to=jdelvare@suse.de \
--cc=linux-hwmon@vger.kernel.org \
--cc=linux@roeck-us.net \
--cc=martin.blumenstingl@googlemail.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).