mfd: syscon: Decouple syscon interface from platform devices
Follow Linux Kernel change introduced in
bdb0066 and avoid device/driver model
for DT-based platforms. See the original kernel commit for the rationale.

Also make syscon_base_lookup_by_pdevname() behave the same way as its
kernel counterpart in the case whern "property" argument is NULL.

Signed-off-by: Andrey Smirnov <andrew.smirnov@gmail.com>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
1 parent 2ccd600 commit b313346b1a92df8bd65bfa590e15b1b1bd48f86f
@Andrey Smirnov Andrey Smirnov authored on 18 Jul 2016
Sascha Hauer committed on 19 Jul 2016
Showing 1 changed file
View
drivers/mfd/syscon.c