OSDN Git Service

mfd: max77686/802: Remove support for board files
authorKrzysztof Kozlowski <k.kozlowski@samsung.com>
Mon, 29 Dec 2014 09:09:16 +0000 (10:09 +0100)
committerLee Jones <lee.jones@linaro.org>
Thu, 22 Jan 2015 16:03:55 +0000 (16:03 +0000)
commit2b50635ea376c89082ef1f3204bcd7791a6e37d7
tree9a5bf24867917ff0f15dba1cbdd62d15ffe4ed6d
parent5dd6eeb2c0c3f5e1364b51a11a7e47629655b6ff
mfd: max77686/802: Remove support for board files

The driver is used only on Exynos based boards with DTS support.
After removal of board file support from max77686 and max77802 regulator
drivers, the MFD driver can be converted to DTS-only version. This
simplifies a little the code:
1. No dead (unused) entries in platform_data structure.
2. More code removed.
3. Regulator driver does not depend on allocated memory
   from MFD driver.
4. It makes also easier extending the regulator driver.

Add to the max77686 MFD driver dependency on CONFIG_OF because without
DTS the regulator drivers (max77686 and max77802) won't bind.

Signed-off-by: Krzysztof Kozlowski <k.kozlowski@samsung.com>
Reviewed-by: Javier Martinez Canillas <javier.martinez@collabora.co.uk>
Tested-by: Javier Martinez Canillas <javier.martinez@collabora.co.uk>
Signed-off-by: Lee Jones <lee.jones@linaro.org>
drivers/mfd/Kconfig
drivers/mfd/max77686.c
include/linux/mfd/max77686-private.h
include/linux/mfd/max77686.h