• Thierry Reding's avatar
    unicore32: nb0916: Use PWM lookup table · b68edac9
    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: Guan Xuetao <gxt@mprc.pku.edu.cn>
    Signed-off-by: default avatarThierry Reding <thierry.reding@gmail.com>
    b68edac9
puv3-nb0916.c 3.7 KB