hwmon: (it87) Add missing sysfs attribute group terminator
authorJean Delvare <jdelvare@suse.de>
Mon, 29 Aug 2016 11:18:23 +0000 (13:18 +0200)
committerGuenter Roeck <linux@roeck-us.net>
Mon, 29 Aug 2016 12:31:31 +0000 (05:31 -0700)
commit3c3292634fc2de1ab97b6aa3222fee647f737adb
tree21418a867d8169c4acd77739f803cc13706dfb50
parentfa8410b355251fd30341662a40ac6b22d3e38468
hwmon: (it87) Add missing sysfs attribute group terminator

Attribute array it87_attributes_in lacks its NULL terminator,
causing random behavior when operating on the attribute group.

Fixes: 52929715634a ("hwmon: (it87) Use is_visible for voltage sensors")
Signed-off-by: Jean Delvare <jdelvare@suse.de>
Cc: Martin Blumenstingl <martin.blumenstingl@googlemail.com>
Cc: Guenter Roeck <linux@roeck-us.net>
Cc: stable@vger.kernel.org
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
drivers/hwmon/it87.c