• Thierry Reding's avatar
    ARM: pxa: mainstone: Use PWM lookup table · a6bedd11
    Thierry Reding authored
    Use a PWM lookup table to provide the PWM to the pwm-backlight device.
    The driver has a legacy code path that is required only because boards
    still use the legacy method of requesting PWMs by global ID. Replacing
    these usages allows that legacy fallback to be removed.
    
    Cc: Daniel Mack <daniel@zonque.org>
    Cc: Haojian Zhuang <haojian.zhuang@gmail.com>
    Cc: Robert Jarzmik <robert.jarzmik@free.fr>
    Signed-off-by: default avatarThierry Reding <thierry.reding@gmail.com>
    [ split pwm_remove_table() call on 2 lines ]
    Signed-off-by: default avatarRobert Jarzmik <robert.jarzmik@free.fr>
    a6bedd11
mainstone.c 15.9 KB