Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
hwmon: power8_occ_i2c: create hwmon sysfs attributes dynamically
This patch fixes issue: https://github.com/openbmc/skeleton/issues/58. OCC sensor number varies for different platforms. The patch creates hwmon sysfs attributes dynamically, using sensor information get from OCC. Previously the sysfs attributes are created using statically defined data structures. Signed-off-by: Yi Li <adamliyi@msn.com> Signed-off-by: Joel Stanley <joel@jms.id.au>
- Loading branch information