sensors: occ: Scale the sensor values
sensors: occ: Scale the sensor values

Scale the sensor values appropriately to match the HWMON requirements.
OCC sensor values should be scaled as per "scale_factor' field and
then converted to HWMON required unit.

Sensors like temperature and power are already scaled by the kernel
driver which convert the values to millidegree Celsius and microWatt
respectively. So apart from temperature and power the remaining
sensors are converted to HWMON standards.

Signed-off-by: Shilpasri G Bhat <d5e9f39adad3a1ae2ac6557cc4305369c013b729@linux.vnet.ibm.com>
Signed-off-by: Stewart Smith <ec31ab75ddf977353c8f660f92ea8b23f64aef25@linux.vnet.ibm.com>

legoater/skiboot,stewart-ibm/skiboot,qemu/skiboot,qemu/skiboot,open-power/skiboot,open-power/skiboot,legoater/skiboot,qemu/skiboot,legoater/skiboot,open-power/skiboot,shenki/skiboot,shenki/skiboot,legoater/skiboot,stewart-ibm/skiboot,shenki/skiboot,open-power/skiboot,qemu/skiboot,stewart-ibm/skiboot,open-power/skiboot,legoater/skiboot,qemu/skiboot,shenki/skiboot,shenki/skiboot