i2c/gpio-i2cmux: Convert to use module_platform_driver()
authorAxel Lin <axel.lin@gmail.com>
Thu, 12 Jan 2012 19:32:04 +0000 (20:32 +0100)
committerJean Delvare <khali@endymion.delvare>
Thu, 12 Jan 2012 19:32:04 +0000 (20:32 +0100)
commit245e99cfe86830589dac6472ef030898ae91ea84
tree2b883b787dbc25098d5f6b84bf3305282c2a0e43
parenta3664b51c783aaa0dde1c95334d1a670d6d54590
i2c/gpio-i2cmux: Convert to use module_platform_driver()

Convert gpio-i2cmux 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: Peter Korsgaard <peter.korsgaard@barco.com>
Signed-off-by: Jean Delvare <khali@linux-fr.org>
drivers/i2c/muxes/gpio-i2cmux.c