Re: [PATCH] thermal: check validity get_trip_hyst function pointer in bang-bang governor

2016-05-22 Thread Peter Feuerer
Hi, 14. Mai 2016 13:47 Uhr, "Michele Di Giorgio" schrieb: > Bang-bang thermal governor uses trip point hysteresis to make decisions. > Hysteresis is a required property in the device tree for trip points, but it > is > an optional thermal zone device operation. Hence, we need to check whether t

[PATCH] thermal: check validity get_trip_hyst function pointer in bang-bang governor

2016-05-11 Thread Michele Di Giorgio
Bang-bang thermal governor uses trip point hysteresis to make decisions. Hysteresis is a required property in the device tree for trip points, but it is an optional thermal zone device operation. Hence, we need to check whether the function pointer is valid or not. If it is not available, we assum