]> git.baikalelectronics.ru Git - kernel.git/commit
[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)
commite607124378582f723bd5f6186fd76531e02c45ac
tree03eb4c6ae1529c904a3aca42fa597f8548bddcb4
parent8a5cfe5fadb3f82225505012ac9b9264e66cb90e
[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