Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit b2a4cc3a authored by Guenter Roeck's avatar Guenter Roeck
Browse files

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: default avatarGuenter Roeck <linux@roeck-us.net>
parent 239552f4
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment