aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/pwm/pwm-dwc-core.c
diff options
context:
space:
mode:
authorUwe Kleine-König <[email protected]>2023-07-05 08:06:44 +0000
committerThierry Reding <[email protected]>2023-10-13 08:07:17 +0000
commite3fe982b2e4e968126a61c14df6c6a50fd7db2a7 (patch)
treea54de4ed892b800cd205c692a9e717fb312c03df /drivers/pwm/pwm-dwc-core.c
parentpwm: berlin: Put per-channel config into driver data (diff)
downloadkernel-e3fe982b2e4e968126a61c14df6c6a50fd7db2a7.tar.gz
kernel-e3fe982b2e4e968126a61c14df6c6a50fd7db2a7.zip
pwm: samsung: Put per-channel data into driver data
Instead of allocating extra data in .request() provide the needed memory in struct samsung_pwm_chip. This reduces the number of allocations. Even though now all 5 channel structs are allocated this is probably outweighed by the reduced overhead to track up to 6 smaller allocations. Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Uwe Kleine-König <[email protected]> Signed-off-by: Thierry Reding <[email protected]>
Diffstat (limited to 'drivers/pwm/pwm-dwc-core.c')
0 files changed, 0 insertions, 0 deletions