mfd: cpcap-whisper: Report dock ID to system
authorGreg Meiste <w30289@motorola.com>
Thu, 29 Jul 2010 19:23:26 +0000 (14:23 -0500)
committerColin Cross <ccross@android.com>
Wed, 6 Oct 2010 23:33:36 +0000 (16:33 -0700)
commit520f195ed15c3e85d8fb4a6c458b269012cc2435
tree41c91b82b38d13015e46acaa9efc697359156bfb
parent7b39f695d865f81ec614b681c991bb354ec32237
mfd: cpcap-whisper: Report dock ID to system

Add support for whisper driver to report the dock ID to the system
via sysfs. The dock ID can be found at:
/sys/class/switch/dock/dock_addr

Change-Id: Iafcc738c5e9bd10f94ee2cab1ab0d39a10b9932e
Signed-off-by: Greg Meiste <w30289@motorola.com>
Signed-off-by: Nick Pelly <npelly@google.com>
drivers/mfd/cpcap-core.c
drivers/mfd/cpcap-whisper.c
include/linux/spi/cpcap.h