• Eduardo Valentin's avatar
    thermal: core: introduce thermal_of_cooling_device_register · a116b5d4
    Eduardo Valentin authored
    This patch adds a new API to allow registering cooling devices
    in the thermal framework derived from device tree nodes.
    
    This API links the cooling device with the device tree node
    so that binding with thermal zones is possible, given
    that thermal zones are pointing to cooling device
    device tree nodes.
    
    Cc: Zhang Rui <rui.zhang@intel.com>
    Cc: linux-pm@vger.kernel.org
    Cc: linux-kernel@vger.kernel.org
    Signed-off-by: default avatarEduardo Valentin <eduardo.valentin@ti.com>
    a116b5d4
thermal.h 9.74 KB