aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/include/linux/hwmon.h
diff options
context:
space:
mode:
authorGuenter Roeck <linux@roeck-us.net>2016-10-16 17:11:52 -0700
committerGuenter Roeck <linux@roeck-us.net>2016-12-09 21:54:21 -0800
commitb2a4cc3a060da0de17ab1e854cef89f5e74e2064 (patch)
treeb6bcf8602259387d82bd09a793c725f5cbb00e18 /include/linux/hwmon.h
parenthwmon: (core) Make is_visible callback truly mandatory (diff)
downloadwireguard-linux-b2a4cc3a060da0de17ab1e854cef89f5e74e2064.tar.xz
wireguard-linux-b2a4cc3a060da0de17ab1e854cef89f5e74e2064.zip
hwmon: (core) Explain why at least two attribute groups are allocated
A list of sysfs attribute groups is NULL-terminated, so we always need to allocate data for at least two groups (the dynamically generated group plus the NULL pointer). Add a comment to explain the situation. Signed-off-by: Guenter Roeck <linux@roeck-us.net>
Diffstat (limited to 'include/linux/hwmon.h')
0 files changed, 0 insertions, 0 deletions