hwmon: (nct6775) Remove num_attr_groups from struct nct6775_data
authorAxel Lin <axel.lin@ingics.com>
Thu, 24 Jul 2014 00:59:34 +0000 (08:59 +0800)
committerGuenter Roeck <linux@roeck-us.net>
Mon, 4 Aug 2014 14:01:40 +0000 (07:01 -0700)
commit55bdee69cda055a5df2e0499a7c8fa1915eaf8d5
treee3e953c07abbd6d66f383b71d8a534482e5e2a8f
parent78313b9542b28474bd2a8e059c4fb6b690df8db2
hwmon: (nct6775) Remove num_attr_groups from struct nct6775_data

num_attr_groups is only used in nct6775_probe(), make it to be local variable.

Signed-off-by: Axel Lin <axel.lin@ingics.com>
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
drivers/hwmon/nct6775.c