Skip to content

Commit

Permalink
hwmon: power8_occ_i2c: create hwmon sysfs attributes dynamically
Browse files Browse the repository at this point in the history
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
Yi Li authored and Joel Stanley committed May 20, 2016
1 parent 03d0937 commit 3a2c7c4
Showing 1 changed file with 328 additions and 530 deletions.
Loading

0 comments on commit 3a2c7c4

Please sign in to comment.