• T
    ARM: pxa: mainstone: Use PWM lookup table · a6bedd11
    Thierry Reding 提交于
    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: NThierry Reding <thierry.reding@gmail.com>
    [ split pwm_remove_table() call on 2 lines ]
    Signed-off-by: NRobert Jarzmik <robert.jarzmik@free.fr>
    a6bedd11
mainstone.c 15.9 KB