From b0e9bbb97fea0198de9140142f750c4b7f08fc8a Mon Sep 17 00:00:00 2001 From: Thierry Reding Date: Mon, 5 Oct 2015 10:49:44 +0200 Subject: [PATCH] ARM: pxa: hx4700: Remove unused field initializers The ID and period for the backlight PWM are obtained from a PWM lookup table, so the corresponding values don't need to be duplicated into the platform data. Cc: Daniel Mack Cc: Haojian Zhuang Cc: Robert Jarzmik Signed-off-by: Thierry Reding Acked-by: Philipp Zabel Signed-off-by: Robert Jarzmik --- arch/arm/mach-pxa/hx4700.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/arch/arm/mach-pxa/hx4700.c b/arch/arm/mach-pxa/hx4700.c index 1e0301a0dbbb..b076a835eb21 100644 --- a/arch/arm/mach-pxa/hx4700.c +++ b/arch/arm/mach-pxa/hx4700.c @@ -557,10 +557,8 @@ static struct platform_device hx4700_lcd = { */ static struct platform_pwm_backlight_data backlight_data = { - .pwm_id = -1, /* Superseded by pwm_lookup */ .max_brightness = 200, .dft_brightness = 100, - .pwm_period_ns = 30923, .enable_gpio = -1, }; -- 2.20.1