]> git.proxmox.com Git - mirror_ubuntu-artful-kernel.git/commit - drivers/misc/hmc6352.c
MISC: convert drivers/misc/* to use module_i2c_driver()
authorAxel Lin <axel.lin@gmail.com>
Sun, 22 Jan 2012 07:36:45 +0000 (15:36 +0800)
committerGreg Kroah-Hartman <gregkh@suse.de>
Wed, 25 Jan 2012 00:31:49 +0000 (16:31 -0800)
commita64fe2ed76614d37abb6966a67f4f39d10efba3c
tree553806918a13fb98fde71ce8e696d4174e7a103e
parentb00e126ffea89b687a83093546058b07aa054b4c
MISC: convert drivers/misc/* to use module_i2c_driver()

This patch converts the drivers in drivers/misc/* 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>
Cc: Michael Hennerich <hennerich@blackfin.uclinux.org>
Cc: Anantha Narayanan <Anantha.Narayanan@intel.com>
Cc: Hemanth V <hemanthv@ti.com>
Cc: Christoph Mair <christoph.mair@gmail.com>
Cc: Grant Likely <grant.likely@secretlab.ca>
Cc: Ben Gardner <bgardner@wabtec.com>
Cc: Minkyu Kang <mk7.kang@samsung.com>
Cc: Kalhan Trisal <kalhan.trisal@intel.com>
Cc: Darrick J. Wong <djwong@us.ibm.com>
Cc: Daniel Mack <zonque@gmail.com>
Cc: Rodolfo Giometti <giometti@linux.it>
Acked-by: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
16 files changed:
drivers/misc/ad525x_dpot-i2c.c
drivers/misc/apds9802als.c
drivers/misc/apds990x.c
drivers/misc/bh1770glc.c
drivers/misc/bh1780gli.c
drivers/misc/bmp085.c
drivers/misc/ds1682.c
drivers/misc/eeprom/eeprom.c
drivers/misc/eeprom/max6875.c
drivers/misc/fsa9480.c
drivers/misc/hmc6352.c
drivers/misc/ics932s401.c
drivers/misc/isl29003.c
drivers/misc/isl29020.c
drivers/misc/lis3lv02d/lis3lv02d_i2c.c
drivers/misc/tsl2550.c