• D
    [PATCH] one less word in struct device · e9b7bd4e
    David Brownell 提交于
    This saves a word from "struct device" ... there's a refcounting mechanism
    stub that's rather ineffective (the values are never even tested!), which
    can safely be deleted.  With this patch it uses normal device refcounting,
    so any potential users of the pm_parent mechanism will be more correct.
    (That mechanism is actually unusable for now though; it does nothing.)
    Signed-off-by: NDavid Brownell <dbrownell@users.sourceforge.net>
    Signed-off-by: NGreg Kroah-Hartman <gregkh@suse.de>
    
     drivers/base/power/main.c |   26 +++-----------------------
     include/linux/pm.h        |    1 -
     2 files changed, 3 insertions(+), 24 deletions(-)
    e9b7bd4e
pm.h 7.2 KB