applesmc: Use the address as platform device ID
authorJean Delvare <khali@linux-fr.org>
Wed, 9 May 2007 03:27:04 +0000 (20:27 -0700)
committerLinus Torvalds <torvalds@woody.linux-foundation.org>
Wed, 9 May 2007 03:41:14 +0000 (20:41 -0700)
commitddfbf2afd538b38139267f71a185eb9434465440
tree74aca8f6511ba435f17c13521a0342a2536dcb2c
parent21d364954f5a2a97b4e378f34a13fbf296aa16ec
applesmc: Use the address as platform device ID

Let the applesmc device export its address to userspace.  libsensors needs
this to recognize the device and give it a unique ID.

Signed-off-by: Jean Delvare <khali@linux-fr.org>
Cc: Nicolas Boichat <nicolas@boichat.ch>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
drivers/hwmon/applesmc.c