i2c-smbus: Use module_i2c_driver()
authorFabio Estevam <fabio.estevam@freescale.com>
Tue, 24 Jul 2012 12:13:57 +0000 (14:13 +0200)
committerJean Delvare <khali@endymion.delvare>
Tue, 24 Jul 2012 12:13:57 +0000 (14:13 +0200)
commitfda2f4af37ccc80d655a5b4538288d461539b574
treebfc65bd905bb65732755c1480455615bdc4802ff
parent9cd3f2e8496ce97a9218d8b0ace06c4d8f0c6bf5
i2c-smbus: Use module_i2c_driver()

Using module_i2c_driver() makes the code smaller and cleaner.

Signed-off-by: Fabio Estevam <fabio.estevam@freescale.com>
Signed-off-by: Jean Delvare <khali@linux-fr.org>
drivers/i2c/i2c-smbus.c