kobject: convert hvc_console to use kref, not kobject
authorGreg Kroah-Hartman <gregkh@suse.de>
Wed, 28 Nov 2007 18:46:22 +0000 (10:46 -0800)
committerGreg Kroah-Hartman <gregkh@suse.de>
Fri, 25 Jan 2008 04:40:08 +0000 (20:40 -0800)
commit12b20ded6f980d9161b1c6b062560b65a7295e1c
tree0f446e8d06ac6b9f407790460f764b0af7b71521
parenta045171f875cd61f690981a78ab98fbd137c938b
kobject: convert hvc_console to use kref, not kobject

hvc_console is using a kobject only for reference counting, nothing
else.  So switch it to use a kref instead, which is all that is needed,
and is much smaller.

Cc: Anton Blanchard <anton@au.ibm.com>
Cc: Paul Mackerras <paulus@au.ibm.com>
Cc: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Cc: Ryan S. Arnold <rsa@us.ibm.com>
Cc: Kay Sievers <kay.sievers@vrfy.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/char/hvc_console.c