summaryrefslogtreecommitdiff
path: root/scripts/extract-fwblobs
diff options
context:
space:
mode:
authorAndré Draszik <andre.draszik@linaro.org>2025-03-04 17:05:39 +0000
committerAlexandre Belloni <alexandre.belloni@bootlin.com>2025-03-05 23:08:01 +0100
commit3b87c6872aed6a7f4112ed6f6078e43035ce0026 (patch)
tree2a1020a5d8062e6f896d3e355f8d2e941467bc09 /scripts/extract-fwblobs
parent3d5d0fe1cb82eea1831d33a8db08b142d208d7fe (diff)
rtc: rx8581: drop needless struct rx8581
The memory pointed to by the ::rtc member is managed via devres, and no code in this driver uses it past _probe(). We can drop it from the structure and just use a local temporary variable, reducing runtime memory consumption by a few bytes. Since this now means that the structure has just one member only left, there is no need anymore to allocate data for it and pass that around via the various callbacks, just to extract that one member. Instead, we can just pass that one member and avoid the extra memory allocation for the containing struct, reducing runtime memory consumption. Signed-off-by: André Draszik <andre.draszik@linaro.org> Link: https://lore.kernel.org/r/20250304-rtc-cleanups-v2-11-d4689a71668c@linaro.org Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Diffstat (limited to 'scripts/extract-fwblobs')
0 files changed, 0 insertions, 0 deletions