platform: make better use of to_platform_{device,driver}() macros
authorEric Miao <eric.miao@marvell.com>
Sat, 31 Jan 2009 14:47:44 +0000 (22:47 +0800)
committerGreg Kroah-Hartman <gregkh@suse.de>
Tue, 24 Mar 2009 23:38:24 +0000 (16:38 -0700)
commit71b3e0c1ad90f28e34c105069175cbd4edb43dfa
treeaf7f1dd890d10acc33e36a923d2604ff26dfb071
parent49b420a13ff95b449947181190b08367348e3e1b
platform: make better use of to_platform_{device,driver}() macros

This helps the code look more consistent and cleaner.

Signed-off-by: Eric Miao <eric.miao@marvell.com>
Cc: Kay Sievers <kay.sievers@vrfy.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/base/platform.c
drivers/block/floppy.c
drivers/isdn/gigaset/ser-gigaset.c