]> git.baikalelectronics.ru Git - kernel.git/commit
hwmon: (ad7418) Convert to a new-style i2c driver
authorJean Delvare <khali@linux-fr.org>
Wed, 16 Jul 2008 17:30:08 +0000 (19:30 +0200)
committerJean Delvare <khali@mahadeva.delvare>
Wed, 16 Jul 2008 17:30:08 +0000 (19:30 +0200)
commit5553f0049be213063f70426b45b59bc1a43335f8
tree153813ce93538e8288a6d60bf6a3f07e8ef40b21
parentf710e5646fc4b8ddd55561bdc581961cd562b0a8
hwmon: (ad7418) Convert to a new-style i2c driver

The ad7418 driver is only used on embedded platforms where i2c
devices can easily be declared in platform code. Thus a new-style
i2c driver makes perfect sense. This lets us get rid of quirky
detection code (these chips have no identification registers) and
shrinks the binary driver size by 38%.

Signed-off-by: Jean Delvare <khali@linux-fr.org>
Cc: Alessandro Zummo <a.zummo@towertech.it>
drivers/hwmon/ad7418.c