summaryrefslogtreecommitdiffstats
path: root/fs/mount.h
diff options
context:
space:
mode:
authorGuenter Roeck <linux@roeck-us.net>2013-01-20 19:05:55 +0100
committerGuenter Roeck <linux@roeck-us.net>2013-02-06 18:58:01 +0100
commit663834f3b796c0a118b84cf18c759f2c2aa537b6 (patch)
tree9494bd7ad43778efe7aa21a70cd84a98b4958300 /fs/mount.h
parenthwmon: (pmbus) Simplify memory allocation for labels and booleans (diff)
downloadlinux-663834f3b796c0a118b84cf18c759f2c2aa537b6.tar.xz
linux-663834f3b796c0a118b84cf18c759f2c2aa537b6.zip
hwmon: (pmbus) Improve boolean handling
Boolean handling depends on storing the sensor data index in sensor_device_attr as part of the index variable. This limits the number of sensor attributes to 256, and means the sensor sequence number actually has to be maintained to be able to access sensor data from boolean functions. Rework the code to store sensor pointers in the pmbus_boolean data structure directly. With this approach, the number of supportable sensors is now unlimited. Signed-off-by: Guenter Roeck <linux@roeck-us.net>
Diffstat (limited to 'fs/mount.h')
0 files changed, 0 insertions, 0 deletions