ACPI / thermal: Use THERMAL_TRIPS_NONE macro to replace number
authorLan Tianyu <tianyu.lan@intel.com>
Wed, 14 Aug 2013 13:00:39 +0000 (21:00 +0800)
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>
Wed, 14 Aug 2013 21:23:57 +0000 (23:23 +0200)
commit70f2903b506100396dbdb301ae1ead74842a6894
tree8290a2a4478f52254ef60899f655418b212d3ec4
parentb22131c254a9a3cfe0184b234ab8bd737b4c8ba2
ACPI / thermal: Use THERMAL_TRIPS_NONE macro to replace number

It's unreadable to pass "-1" as trip parameter directly to
thermal_zone_bind_cooling_device().  Use THERMAL_TRIPS_NONE instead.

Signed-off-by: Lan Tianyu <tianyu.lan@intel.com>
Acked-by: Zhang Rui <rui.zhang@intel.com>
Acked-by: Durgadoss R <durgadoss.r@intel.com>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
drivers/acpi/thermal.c