• David Brownell's avatar
    [PATCH] one less word in struct device · e9b7bd4e
    David Brownell authored
    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: default avatarDavid Brownell <dbrownell@users.sourceforge.net>
    Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@suse.de>
    
     drivers/base/power/main.c |   26 +++-----------------------
     include/linux/pm.h        |    1 -
     2 files changed, 3 insertions(+), 24 deletions(-)
    e9b7bd4e
main.c 2.3 KB