diff options
author | Keerthy <[email protected]> | 2016-06-02 14:24:50 +0530 |
---|---|---|
committer | Zhang Rui <[email protected]> | 2016-09-27 14:02:16 +0800 |
commit | e2fa74880987e9d6e3f8dcbff3f3eb260936842f (patch) | |
tree | df5780baff706bd3072b156ec4a793f1676f4a4c /net/unix/sysctl_net_unix.c | |
parent | 1f09ba82fa4bd405f5c656c48d53e076931b4a2d (diff) |
thermal: of-thermal: Fix setting of set_emul_temp hook
Currently thermal zone set_emul_temp is set unconditionally
with of_thermal_set_emul_temp function. Set this only if the
set_emul_temp hook is provided for thermal_zone_of_device_ops.
This fixes emul_temp failures on platforms for which set_emul_temp
hook is not populated.
Fixes: "184a4bf623f (thermal: of: Extend current
of-thermal.c code to allow setting emulated temp)"
Suggested-by: Eduardo Valentin <[email protected]>
Signed-off-by: Keerthy <[email protected]>
Signed-off-by: Eduardo Valentin <[email protected]>
Conflicts:
drivers/thermal/of-thermal.c
Signed-off-by: Zhang Rui <[email protected]>
Diffstat (limited to 'net/unix/sysctl_net_unix.c')
0 files changed, 0 insertions, 0 deletions