linux/drivers/hwmon/ams
Jean Delvare 810ad7b62c hwmon: (ams) Convert to a new-style i2c driver
The legacy i2c binding model is phasing out, so the ams driver needs
to be converted to a new-style i2c driver. Here is a naive approach of
this conversion. Basically it is moving the i2c device creation from
the ams driver to the i2c-powermac driver. This should work, but I
suspect we could come up with something cleaner by declaring the i2c
device as part of the platform setup. This could be done later by
someone more familiar with openfirmware-based platforms than I am
myself.

One nice thing brought by this conversion is that the ams driver
should be loaded automatically on systems where is is needed (at
least when the I2C interface to the chip is used) providing
coldplug-aware user-space environment.

Signed-off-by: Jean Delvare <khali@linux-fr.org>
Acked-by: Johannes Berg <johannes@sipsolutions.net>
Cc: Stelian Pop <stelian@popies.net>
Cc: Michael Hanselmann <linux-kernel@hansmi.ch>
Cc: Benjamin Herrenschmidt <benh@kernel.crashing.org>
2008-10-17 17:51:12 +02:00
..
ams-core.c hwmon: Use linux/of_platform.h instead of asm 2008-06-30 22:30:31 +10:00
ams-i2c.c hwmon: (ams) Convert to a new-style i2c driver 2008-10-17 17:51:12 +02:00
ams-input.c HWMON: ams - convert to use input-polldev 2007-09-26 00:01:41 -04:00
ams-pmu.c [POWERPC] Rename get_property to of_get_property: drivers 2007-05-02 20:04:32 +10:00
ams.h hwmon: (ams) Convert to a new-style i2c driver 2008-10-17 17:51:12 +02:00
Makefile hwmon: New AMS hardware monitoring driver 2006-12-12 18:18:30 +01:00