kobject: convert icom to use kref, not kobject
authorGreg Kroah-Hartman <gregkh@suse.de>
Tue, 4 Dec 2007 04:16:20 +0000 (21:16 -0700)
committerGreg Kroah-Hartman <gregkh@suse.de>
Fri, 25 Jan 2008 04:40:09 +0000 (20:40 -0800)
commit15f2bbb28e96e20149548926e5b08551ba140b14
tree57a669fb31fb573545ef88427f33fa24547fcdf1
parentf7eb12c626d4375faf03039261546bd19c1325fd
kobject: convert icom to use kref, not kobject

The IBM icom serial driver 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/serial/icom.c
drivers/serial/icom.h