[PATCH] one less word in struct device
authorDavid Brownell <david-b@pacbell.net>
Fri, 23 Sep 2005 05:30:48 +0000 (22:30 -0700)
committerGreg Kroah-Hartman <gregkh@suse.de>
Fri, 28 Oct 2005 23:47:39 +0000 (16:47 -0700)
commite9b7bd4ee7f6e3ee002dc72c5211cd97c7186d00
tree03eb4c6ae1529c904a3aca42fa597f8548bddcb4
parenta1d59ce842a35b552f22868404e4e7c923242257
[PATCH] one less word in struct device

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: David Brownell <dbrownell@users.sourceforge.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
 drivers/base/power/main.c |   26 +++-----------------------
 include/linux/pm.h        |    1 -
 2 files changed, 3 insertions(+), 24 deletions(-)
drivers/base/power/main.c
include/linux/pm.h