Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

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>

authored by

Joe Perches and committed by
Zhang Rui
ce1d9491 b787f68c

+1 -1
+1 -1
drivers/thermal/thermal_core.h
··· 103 103 static inline bool of_thermal_is_trip_valid(struct thermal_zone_device *tz, 104 104 int trip) 105 105 { 106 - return 0; 106 + return false; 107 107 } 108 108 static inline const struct thermal_trip * 109 109 of_thermal_get_trip_points(struct thermal_zone_device *tz)