[PATCH skeleton] Allow sysfs path to be passed to OCC sensor

OpenBMC Patches openbmc-patches at stwcx.xyz
Thu Apr 28 01:10:59 AEST 2016


The previous method of overriding this didn't work because
the base class constructor disables the sensor before the path
is updated with the correct one.

Pass it into the constructor so that the path is correct from
the beginning.

<!-- Reviewable:start -->
---
This change is [<img src="https://reviewable.io/review_button.svg" height="35" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/openbmc/skeleton/65)
<!-- Reviewable:end -->


https://github.com/openbmc/skeleton/pull/65

Brad Bishop (1):
  Allow sysfs path to be passed to OCC sensor

 bin/Sensors.py | 7 +++++--
 1 file changed, 5 insertions(+), 2 deletions(-)

-- 
2.8.1




More information about the openbmc mailing list