]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit2a537465c37b8e599f44a8ef97e126a63c1708d2
tree4b3f52568d0b7ffcca9922be979ac4c65be4de5b
parent46b9ebf3178d4afabd73ced796a0ef0b2b6e1209
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