net: rfkill: convert net/rfkill/* to use module_platform_driver()
authorAxel Lin <axel.lin@gmail.com>
Mon, 28 Nov 2011 09:15:04 +0000 (17:15 +0800)
committerJohn W. Linville <linville@tuxdriver.com>
Wed, 30 Nov 2011 20:08:27 +0000 (15:08 -0500)
commit98ef55f66f791a04877c9e0a272a8c50cceaf9a5
tree0c93263b27d1b5f4da81558763d796c59021936a
parent264827555bff54bc2c896b51777e89bd22d01c21
net: rfkill: convert net/rfkill/* to use module_platform_driver()

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

Cc: "David S. Miller" <davem@davemloft.net>
Cc: "John W. Linville" <linville@tuxdriver.com>
Cc: Johannes Berg <johannes@sipsolutions.net>
Cc: Antonio Ospite <ospite@studenti.unina.it>
Cc: Rhyland Klein <rklein@nvidia.com>
Signed-off-by: Axel Lin <axel.lin@gmail.com>
Acked-by: Rhyland Klein <rklein@nvidia.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
net/rfkill/rfkill-gpio.c
net/rfkill/rfkill-regulator.c