summaryrefslogtreecommitdiffstats
path: root/drivers/mmc
diff options
context:
space:
mode:
authorGuenter Roeck <linux@roeck-us.net>2013-01-20 10:05:55 -0800
committerGuenter Roeck <linux@roeck-us.net>2013-02-06 09:58:01 -0800
commit663834f3b796c0a118b84cf18c759f2c2aa537b6 (patch)
tree9494bd7ad43778efe7aa21a70cd84a98b4958300 /drivers/mmc
parent0328461ea954cab13956aedb97f9686bfdfdf2a5 (diff)
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 'drivers/mmc')
0 files changed, 0 insertions, 0 deletions