pcmcia: convert drivers/pcmcia/* to use module_platform_driver()
authorAxel Lin <axel.lin@gmail.com>
Sun, 27 Nov 2011 04:53:06 +0000 (12:53 +0800)
committerDominik Brodowski <linux@dominikbrodowski.net>
Sat, 3 Mar 2012 13:43:37 +0000 (14:43 +0100)
commit5d95f8e2dd263f3e05ae4bf9a3309552363e13af
tree547831149fd437068b919256d4a6f7e36ddc2926
parentd571c79e86fa7704265b9127403a78ccd3c01729
pcmcia: convert drivers/pcmcia/* to use module_platform_driver()

This patch converts the drivers in drivers/pcmcia/* to use the
module_platform_driver() macro which makes the code smaller and a bit
simpler.

Signed-off-by: Axel Lin <axel.lin@gmail.com>
Acked-by: Wolfram Sang <w.sang@pengutronix.de>
Acked-by: Olof Johansson <olof@lixom.net>
Acked-by: Michael Hennerich <michael.hennerich@analog.com>
Acked-by: Marc Zyngier <maz@misterjones.org> [for the viper part]
Acked-by: Manuel Lauss <manuel.lauss@googlemail.com> [for the db1xxx_ss.c part]
Signed-off-by: Dominik Brodowski <linux@dominikbrodowski.net>
drivers/pcmcia/bfin_cf_pcmcia.c
drivers/pcmcia/db1xxx_ss.c
drivers/pcmcia/electra_cf.c
drivers/pcmcia/m8xx_pcmcia.c
drivers/pcmcia/pxa2xx_viper.c
drivers/pcmcia/xxs1500_ss.c