[PATCH 2/2] backlight: sky81452: Privatize platform data

Lee Jones lee.jones at linaro.org
Wed Jul 1 09:40:26 UTC 2020


On Fri, 26 Jun 2020, Linus Walleij wrote:

> The only way the platform data for the SKY81452 ever gets populated
> is through the device tree.
> 
> The MFD device is bothered with this for no reason at all. Just
> allocate the platform data in the driver and be happy.
> 
> Cc: Gyungoh Yoo <jack.yoo at skyworksinc.com>
> Signed-off-by: Linus Walleij <linus.walleij at linaro.org>
> ---
>  drivers/mfd/sky81452.c                        |  2 -
>  drivers/video/backlight/sky81452-backlight.c  | 34 +++++++++++++----
>  include/linux/mfd/sky81452.h                  |  2 -
>  .../linux/platform_data/sky81452-backlight.h  | 37 -------------------
>  4 files changed, 27 insertions(+), 48 deletions(-)
>  delete mode 100644 include/linux/platform_data/sky81452-backlight.h

Applied, thanks.

-- 
Lee Jones [李琼斯]
Senior Technical Lead - Developer Services
Linaro.org │ Open source software for Arm SoCs
Follow Linaro: Facebook | Twitter | Blog


More information about the dri-devel mailing list