sbus: convert drivers/sbus/char/* to use module_platform_driver()
commitdbf2b92d54e73e4a2524b90d29bd498ecc4aa593
authorAxel Lin <axel.lin@gmail.com>
Sat, 26 Nov 2011 19:04:25 +0000 (26 19:04 +0000)
committerDavid S. Miller <davem@davemloft.net>
Sun, 4 Dec 2011 18:46:58 +0000 (4 10:46 -0800)
treef632c477fbee168e36ca42013c68cf761dff3f7b
parente410471029ba99e85af5e2a1e7e747c7b4de2bc3
sbus: convert drivers/sbus/char/* to use module_platform_driver()

This patch converts the drivers in drivers/sbus/char/* 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>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/sbus/char/bbc_i2c.c
drivers/sbus/char/display7seg.c
drivers/sbus/char/envctrl.c
drivers/sbus/char/flash.c
drivers/sbus/char/uctrl.c