lkml.org 
[lkml]   [2017]   [Sep]   [4]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH v4] mfd: tps65217: Introduce dependency on CONFIG_OF
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_device_id.
>
> Signed-off-by: Keerthy <j-keerthy@ti.com>
> Reviewed-by: Javier Martinez Canillas <javierm@redhat.com>
> ---
>
> Changes in v4:
>
> * Added Javier's Reviewed-by.
> * Added back I2C Device ID struct as it is needed for module autoprobe.
>
> Changes in v3:
>
> * Added more details to commit log.
> * No changes in code. Rebased to latest next branch.
>
> Changes in v2:
>
> * Cleaned up chip_id and data attached to the match.
> * Cleaned up i2c_dev_id
> * dropped the rest of the patches in series for now
>
> Boot tested and checked for regulator registrations on am335x-boneblack
> both as part of zImage and as module autoprobed.
>
> drivers/mfd/Kconfig | 2 +-
> drivers/mfd/tps65217.c | 28 +++++-----------------------
> drivers/regulator/tps65217-regulator.c | 5 -----
> drivers/video/backlight/tps65217_bl.c | 14 +++-----------
> include/linux/mfd/tps65217.h | 6 ------
> 5 files changed, 9 insertions(+), 46 deletions(-)

Applied for v4.15.

--
Lee Jones
Linaro STMicroelectronics Landing Team Lead
Linaro.org │ Open source software for ARM SoCs
Follow Linaro: Facebook | Twitter | Blog

\
 
 \ /
  Last update: 2017-09-04 17:14    [W:0.188 / U:0.080 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site