diff options
author | Joe Perches <joe@perches.com> | 2015-03-30 10:43:22 -0700 |
---|---|---|
committer | Zhang Rui <rui.zhang@intel.com> | 2015-05-01 13:22:34 +0800 |
commit | ce1d94919de3ffc1769b327792ea0189db6e7551 (patch) | |
tree | 00f29a82471b8a68e17763b14f670055ba9675ca /drivers/thermal | |
parent | b787f68c36d49bb1d9236f403813641efa74a031 (diff) | |
download | linux-ce1d94919de3ffc1769b327792ea0189db6e7551.tar.gz linux-ce1d94919de3ffc1769b327792ea0189db6e7551.tar.bz2 linux-ce1d94919de3ffc1769b327792ea0189db6e7551.zip |
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) |