net/irda: convert drivers/net/irda/* to use module_platform_driver()
authorAxel Lin <axel.lin@gmail.com>
Mon, 28 Nov 2011 01:29:11 +0000 (20:29 -0500)
committerDavid S. Miller <davem@davemloft.net>
Mon, 28 Nov 2011 01:29:11 +0000 (20:29 -0500)
commit8b7ff200010600ef7cd9d002f9f8f97edfc7578e
tree4b3f52568d0b7ffcca9922be979ac4c65be4de5b
parent8cd6d6162d998da579d40a1ee061bf8ce1610ff8
net/irda: convert drivers/net/irda/* to use module_platform_driver()

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

Cc: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>
Signed-off-by: Axel Lin <axel.lin@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/irda/bfin_sir.c
drivers/net/irda/pxaficp_ir.c
drivers/net/irda/sh_irda.c
drivers/net/irda/sh_sir.c