Home
last modified time | relevance | path

Searched hist:"663834 f3b796c0a118b84cf18c759f2c2aa537b6" (Results 1 – 1 of 1) sorted by relevance

/openbmc/linux/drivers/hwmon/pmbus/
H A Dpmbus_core.cdiff 663834f3b796c0a118b84cf18c759f2c2aa537b6 Sun Jan 20 12:05:55 CST 2013 Guenter Roeck <linux@roeck-us.net> 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>