lkml.org 
[lkml]   [2008]   [Oct]   [11]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    Patch in this message
    /
    Date
    From
    Subject[PATCH 78/85] ACPI fan: Debug interface used for error message cleanup
    From: Thomas Renninger <trenn@suse.de>

    Signed-off-by: Thomas Renninger <trenn@suse.de>
    Signed-off-by: Andi Kleen <ak@linux.intel.com>
    Signed-off-by: Len Brown <len.brown@intel.com>
    ---
    drivers/acpi/fan.c | 4 ++--
    1 files changed, 2 insertions(+), 2 deletions(-)

    diff --git a/drivers/acpi/fan.c b/drivers/acpi/fan.c
    index 2655bc1..393934e 100644
    --- a/drivers/acpi/fan.c
    +++ b/drivers/acpi/fan.c
    @@ -327,8 +327,8 @@ static int acpi_fan_resume(struct acpi_device *device)

    result = acpi_bus_get_power(device->handle, &power_state);
    if (result) {
    - ACPI_DEBUG_PRINT((ACPI_DB_ERROR,
    - "Error reading fan power state\n"));
    + printk(KERN_ERR "Error reading fan power state [%d]\n",
    + result);
    return result;
    }

    --
    1.5.5.1


    \
     
     \ /
      Last update: 2008-10-11 09:43    [W:0.020 / U:59.884 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site