diff options
author | Daniel Willerud <daniel.willerud@stericsson.com> | 2011-03-05 11:46:13 +0100 |
---|---|---|
committer | Nicolas Pitre <nicolas.pitre@linaro.org> | 2011-03-25 17:59:04 -0400 |
commit | ebbe52e2457ec72e0c7e24de779a532695bd6212 (patch) | |
tree | a8573589e99e4759dc091d45e0920c8b249bf745 /REPORTING-BUGS | |
parent | b7520cf2d71003f29857446c0ee47395806e1714 (diff) |
mfd: Reentrance and revamp ab8500 gpadc fetching interface
This revamps the interface so that AB8500 GPADCs are fetched by
name. Probed GPADCs are added to a list and this list is searched
for a matching GPADC. This makes it possible to have multiple
AB8500 GPADC instances instead of it being a singleton, and
rids the need to keep a GPADC pointer around in the core AB8500
MFD struct.
Currently the match is made to the device name which is by default
numbered from the device instance such as "ab8500-gpadc.0" but
by using the .init_name field of the device a more intiutive
naming for the GPADC blocks can be achieved if desired.
Signed-off-by: Daniel Willerud <daniel.willerud@stericsson.com>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Signed-off-by: Samuel Ortiz <sameo@linux.intel.com>
(cherry picked from commit 6321992cd3c56bab6cc52e3384951e12616805a1)
Diffstat (limited to 'REPORTING-BUGS')
0 files changed, 0 insertions, 0 deletions