]> git.karo-electronics.de Git - mv-sheeva.git/commit
i2c: Convert drivers/i2c/muxes/* to use module_i2c_driver()
authorAxel Lin <axel.lin@gmail.com>
Mon, 26 Mar 2012 19:47:19 +0000 (21:47 +0200)
committerJean Delvare <khali@endymion.delvare>
Mon, 26 Mar 2012 19:47:19 +0000 (21:47 +0200)
commitde05497aab22b515ff02988634eab59848410a25
tree5417156ec4bbf2b5d459202484a087aac6d303a0
parent84c1af4c21d645a02a4780cdf61c7551d8e7bb56
i2c: Convert drivers/i2c/muxes/* to use module_i2c_driver()

This patch converts the drivers in drivers/i2c/muxes/* to use the
module_i2c_driver() macro which makes the code smaller and a bit simpler.

Signed-off-by: Axel Lin <axel.lin@gmail.com>
Acked-by: Wolfram Sang <w.sang@pengutronix.de>
Cc: Guenter Roeck <guenter.roeck@ericsson.com>
Cc: Michael Lawnick <ml.lawnick@gmx.de>
Cc: Ben Dooks <ben-linux@fluff.org>
Signed-off-by: Jean Delvare <khali@linux-fr.org>
drivers/i2c/muxes/pca9541.c
drivers/i2c/muxes/pca954x.c