mfd: syscon: Add non-DT support
authorAlexander Shiyan <shc_work@mail.ru>
Wed, 13 Mar 2013 17:34:20 +0000 (21:34 +0400)
committerSamuel Ortiz <sameo@linux.intel.com>
Fri, 5 Apr 2013 15:58:22 +0000 (17:58 +0200)
commit5ab3a89a741fa4c331f42dec17fde59586dc59e6
tree840bbe9b19154a15213481b6f02cee9602a7af6f
parented21465a0987e5fd81d6b47349115f2dd3d8ef9c
mfd: syscon: Add non-DT support

This patch allow using syscon driver from the platform data, i.e.
possibility using driver on systems without oftree support.
For search syscon device from the client drivers,
"syscon_regmap_lookup_by_pdevname" function was added.

Signed-off-by: Alexander Shiyan <shc_work@mail.ru>
Acked-by: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: Samuel Ortiz <sameo@linux.intel.com>
drivers/mfd/Kconfig
drivers/mfd/syscon.c
include/linux/mfd/syscon.h