ACPI: gracefully print null trip-point device
commite7c746ef098770f863ba294adac5b30d124ba469
authorThomas Renninger <trenn@suse.de>
Mon, 18 Jun 2007 04:40:51 +0000 (18 00:40 -0400)
committerLen Brown <len.brown@intel.com>
Mon, 18 Jun 2007 04:40:51 +0000 (18 00:40 -0400)
treebaa4702f32c6aa726135b90b944016ee8903cc2e
parent188e1f81ba31af1b65a2f3611df4c670b092bbac
ACPI: gracefully print null trip-point device

if acpi_bus_get_device() returns NULL, print nothing
instead of "<NUL" in /proc/acpi/thermal_zone/*/trip_points

Signed-off-by: Thomas Renninger <trenn@suse.de>
Signed-off-by: Len Brown <len.brown@intel.com>
drivers/acpi/thermal.c