]> git.kernelconcepts.de Git - karo-tx-linux.git/commitdiff
ARM: pxa: hx4700: Remove unused field initializers
authorThierry Reding <thierry.reding@gmail.com>
Mon, 5 Oct 2015 08:49:44 +0000 (10:49 +0200)
committerRobert Jarzmik <robert.jarzmik@free.fr>
Tue, 6 Oct 2015 19:05:01 +0000 (21:05 +0200)
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 <daniel@zonque.org>
Cc: Haojian Zhuang <haojian.zhuang@gmail.com>
Cc: Robert Jarzmik <robert.jarzmik@free.fr>
Signed-off-by: Thierry Reding <thierry.reding@gmail.com>
Acked-by: Philipp Zabel <philipp.zabel@gmail.com>
Signed-off-by: Robert Jarzmik <robert.jarzmik@free.fr>
arch/arm/mach-pxa/hx4700.c

index 1e0301a0dbbb0b348fea10b710a5a27992e69f70..b076a835eb21b30aef39e0d46968231d23af1500 100644 (file)
@@ -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,
 };