]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
[MMC] wbsd: convert to the new platfrom device interface
authorDmitry Torokhov <dtor_core@ameritech.net>
Tue, 3 Jan 2006 22:57:35 +0000 (22:57 +0000)
committerRussell King <rmk+kernel@arm.linux.org.uk>
Tue, 3 Jan 2006 22:57:35 +0000 (22:57 +0000)
commit21500bb32acd4c34b50e5d985712e29792c1b9ad
tree5100546631aad4116835634b846979550deaf1a7
parent63648fb5c0173614064e329503cc75c907dcb1a1
[MMC] wbsd: convert to the new platfrom device interface

platform_device_register_simple() is going away, switch to
using platfrom_device_alloc() + platform_device_add(). Also
make sure that wbsd_driver gets unregistered when wbsd_init
fails.

Signed-off-by: Dmitry Torokhov <dtor@mail.ru>
Acked-by: Pierre Ossman <drzeus@drzeus.cx>
drivers/mmc/wbsd.c