backlight: sky81452: Privatize platform data
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@skyworksinc.com> Signed-off-by: Linus Walleij <linus.walleij@linaro.org> Reviewed-by: Daniel Thompson <daniel.thompson@linaro.org> Signed-off-by: Lee Jones <lee.jones@linaro.org>
This commit is contained in:
@@ -9,11 +9,9 @@
|
||||
#ifndef _SKY81452_H
|
||||
#define _SKY81452_H
|
||||
|
||||
#include <linux/platform_data/sky81452-backlight.h>
|
||||
#include <linux/regulator/machine.h>
|
||||
|
||||
struct sky81452_platform_data {
|
||||
struct sky81452_bl_platform_data *bl_pdata;
|
||||
struct regulator_init_data *regulator_init_data;
|
||||
};
|
||||
|
||||
|
Reference in New Issue
Block a user