diff options
author | Joe Perches <joe@perches.com> | 2015-03-30 20:43:22 +0300 |
---|---|---|
committer | Zhang Rui <rui.zhang@intel.com> | 2015-05-01 08:22:34 +0300 |
commit | ce1d94919de3ffc1769b327792ea0189db6e7551 (patch) | |
tree | 00f29a82471b8a68e17763b14f670055ba9675ca /drivers/thermal | |
parent | b787f68c36d49bb1d9236f403813641efa74a031 (diff) | |
download | linux-ce1d94919de3ffc1769b327792ea0189db6e7551.tar.xz |
thermal: Use bool function return values of true/false not 1/0
Use the normal return values for bool functions
Signed-off-by: Joe Perches <joe@perches.com>
Signed-off-by: Zhang Rui <rui.zhang@intel.com>
Diffstat (limited to 'drivers/thermal')
-rw-r--r-- | drivers/thermal/thermal_core.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/thermal/thermal_core.h b/drivers/thermal/thermal_core.h index 0531c752fbbb..8e391812e503 100644 --- a/drivers/thermal/thermal_core.h +++ b/drivers/thermal/thermal_core.h @@ -103,7 +103,7 @@ static inline int of_thermal_get_ntrips(struct thermal_zone_device *tz) static inline bool of_thermal_is_trip_valid(struct thermal_zone_device *tz, int trip) { - return 0; + return false; } static inline const struct thermal_trip * of_thermal_get_trip_points(struct thermal_zone_device *tz) |