Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit fe0e2cf9 authored by oliver@schinagl.nl's avatar oliver@schinagl.nl Committed by Thierry Reding
Browse files

pwm: lpc-18xx: use pwm_set_chip_data



The lpc-18xx driver currently manipulates the pwm_device struct directly
rather than using the pwm_set_chip_data() function. While the current
method may save a clock cycle or two, using the explicit function call
makes it more obvious that data is set to the local chip data pointer.

Signed-off-by: default avatarOlliver Schinagl <oliver@schinagl.nl>
Reviewed-by: default avatarAriel D'Alessandro <ariel@vanguardiasur.com.ar>
Signed-off-by: default avatarThierry Reding <thierry.reding@gmail.com>
parent 42ddcf4f
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment