mfd: tps65217: Introduce dependency on CONFIG_OF
authorKeerthy <j-keerthy@ti.com>
Wed, 30 Aug 2017 09:29:10 +0000 (14:59 +0530)
committerLee Jones <lee.jones@linaro.org>
Fri, 13 Oct 2017 09:42:58 +0000 (10:42 +0100)
commit511cb17448d95e4277451cdee882e72b6a9a3099
tree585e0da9c7c3a0dc7d2ca5d1e1bcd8df4f8bf8a0
parentcfc95173ba8e18e41d9a69d2747d0f2738a2a551
mfd: tps65217: Introduce dependency on CONFIG_OF

Currently the driver boots only via device tree hence add a
dependency on CONFIG_OF. This leaves with a bunch of unused code
so clean that up. This patch also makes use of probe_new function
in place of the probe function so as to avoid passing i2c_device_id.

Signed-off-by: Keerthy <j-keerthy@ti.com>
Reviewed-by: Javier Martinez Canillas <javierm@redhat.com>
Signed-off-by: Lee Jones <lee.jones@linaro.org>
drivers/mfd/Kconfig
drivers/mfd/tps65217.c
drivers/regulator/tps65217-regulator.c
drivers/video/backlight/tps65217_bl.c
include/linux/mfd/tps65217.h