mfd: stmpe: DT: Add stmpe-i2c dt alias to get id device
authorGabriel Fernandez <gabriel.fernandez@stericsson.com>
Fri, 1 Mar 2013 12:07:26 +0000 (13:07 +0100)
committerSamuel Ortiz <sameo@linux.intel.com>
Fri, 5 Apr 2013 16:05:54 +0000 (18:05 +0200)
commit408a3fa867be13844af13bcbba25e70232fd99e5
tree628cc9ecf25e5fd9f522db3f7242cdf60e78f394
parenta200e320f7ba7daa42e5fae3a1c67ed2f704b05c
mfd: stmpe: DT: Add stmpe-i2c dt alias to get id device

This patch augments the STMP driver to read the device id
from the stmpe-i2c dt alias if present.

Cc: devicetree-discuss@lists.ozlabs.org
Signed-off-by: Gabriel Fernandez <gabriel.fernandez@stericsson.com>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Signed-off-by: Samuel Ortiz <sameo@linux.intel.com>
drivers/mfd/stmpe.c