therm_pm72: Convert to a new-style i2c driver
authorJean Delvare <khali@linux-fr.org>
Mon, 15 Jun 2009 16:01:50 +0000 (18:01 +0200)
committerJean Delvare <khali@linux-fr.org>
Mon, 15 Jun 2009 16:01:50 +0000 (18:01 +0200)
commit1b9f37d488f09342610b29ac1c8e734e540932ab
tree2712ad4ca814a3b497c771962cb2fc99242d452f
parenta231591f0427cfb91ae247be974a7fa0e6b37389
therm_pm72: Convert to a new-style i2c driver

The legacy i2c binding model is going away soon, so convert the
macintosh therm_pm72 driver to the new model or it will break.

This is really a quick and dirty conversion, that should do the trick
for now, but no doubt that something cleaner can be done if anyone is
interested.

Signed-off-by: Jean Delvare <khali@linux-fr.org>
Cc: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Tested-by: Paul Mackerras <paulus@samba.org>
drivers/macintosh/therm_pm72.c