lkml.org 
[lkml]   [2004]   [May]   [28]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    Patch in this message
    /
    SubjectRe: [PATCH] Driver Core fixes for 2.6.7-rc1
    Date
    From
    ChangeSet 1.1717.7.7, 2004/05/28 10:31:37-07:00, greg@kroah.com

    Minor coding style fixups in resume code and added a bit of debugging help.

    Signed-off-by: Greg Kroah-Hartman <greg@kroah.com>


    drivers/base/power/runtime.c | 5 ++---
    1 files changed, 2 insertions(+), 3 deletions(-)


    diff -Nru a/drivers/base/power/runtime.c b/drivers/base/power/runtime.c
    --- a/drivers/base/power/runtime.c Fri May 28 14:17:57 2004
    +++ b/drivers/base/power/runtime.c Fri May 28 14:17:57 2004
    @@ -12,12 +12,11 @@

    static void runtime_resume(struct device * dev)
    {
    + dev_dbg(dev, "resuming\n");
    if (!dev->power.power_state)
    return;
    - if (! resume_device(dev))
    + if (!resume_device(dev))
    dev->power.power_state = 0;
    -
    - return;
    }


    -
    To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
    the body of a message to majordomo@vger.kernel.org
    More majordomo info at http://vger.kernel.org/majordomo-info.html
    Please read the FAQ at http://www.tux.org/lkml/

    \
     
     \ /
      Last update: 2005-03-22 14:03    [W:3.413 / U:0.008 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site