Re: [PATCH v4] mfd: tps65217: Introduce dependency on CONFIG_OF

2017-09-04 Thread Lee Jones
On Wed, 30 Aug 2017, Keerthy wrote: > 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_devic

[PATCH v4] mfd: tps65217: Introduce dependency on CONFIG_OF

2017-08-30 Thread Keerthy
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 Reviewed-by: J