mfd: Break out ab5500 debugfs code
authorLinus Walleij <linus.walleij@linaro.org>
Thu, 22 Sep 2011 06:22:33 +0000 (08:22 +0200)
committerSamuel Ortiz <sameo@linux.intel.com>
Mon, 24 Oct 2011 12:09:16 +0000 (14:09 +0200)
commit94be70d4b279ba1b35119a3340833ffcc798c2e2
treeb447c0c927d8403895e44f9f42e9e436ed9210c7
parentb7ddac53df5097e8437ca40316caf79885d31946
mfd: Break out ab5500 debugfs code

This breaks the debugfs portions of the AB5500 driver into its own
file. Split off a _raw function to access registers since we don't
want to expose a generically named function globally. Move all
required data structures to a shared ab5500-core.h file.

Cc: Mattias Wallin <mattias.wallin@stericsson.com>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Signed-off-by: Samuel Ortiz <sameo@linux.intel.com>
drivers/mfd/Kconfig
drivers/mfd/Makefile
drivers/mfd/ab5500-core.c
drivers/mfd/ab5500-core.h [new file with mode: 0644]
drivers/mfd/ab5500-debugfs.c [new file with mode: 0644]
drivers/mfd/ab5500-debugfs.h [new file with mode: 0644]