diff options
author | Uwe Kleine-König | 2021-11-10 09:49:49 +0100 |
---|---|---|
committer | Thierry Reding | 2022-02-02 17:04:23 +0100 |
commit | 20d9de9c4d6642bb40c935233697723b56573cbc (patch) | |
tree | 0a51ef54c9dc4f8f0fd9e2eecfadac3d38f36397 /Makefile | |
parent | 0401f24cd238ae200a23a13925f98de3d2c883b8 (diff) |
pwm: lpc18xx-sct: Reduce number of devm memory allocations
Each devm allocations has an overhead of 24 bytes to store the related
struct devres_node additionally to the fragmentation of the allocator.
So allocating 16 struct lpc18xx_pwm_data (which only hold a single int)
adds quite some overhead. Instead put the per-channel data into the
driver data struct and allocate it in one go.
Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
Signed-off-by: Thierry Reding <thierry.reding@gmail.com>
Diffstat (limited to 'Makefile')
0 files changed, 0 insertions, 0 deletions