• Vaibhav Gupta's avatar
    software: kernel: update API for temperature read · 71093c5e
    Vaibhav Gupta authored
    In the case of error, the current API just reports via dev_err(), and
    return a safe value. This is fine for callibration tools. But other
    places, like sysfs, care about the eroor and the error code.
    
    Thus, the API should return the error code in case of error, and the
    tools which want a safe value, should do it in their own space.
    Signed-off-by: 's avatarVaibhav Gupta <vaibhav.gupta@cern.ch>
    71093c5e
fmc-adc-100m14b4cha-private.h 14.4 KB