diff options
author | André Draszik <andre.draszik@linaro.org> | 2025-03-04 20:05:34 +0300 |
---|---|---|
committer | Alexandre Belloni <alexandre.belloni@bootlin.com> | 2025-03-06 01:08:00 +0300 |
commit | a55d44807b63f171f8079d770c9d82fa87046cdd (patch) | |
tree | 8c733f0617892d10b96c9730b3f5f4cd9d648387 /tools/perf/scripts/python/export-to-sqlite.py | |
parent | 5d0ad519f503b8432ebc396dfe87e6190dbdcbb1 (diff) | |
download | linux-a55d44807b63f171f8079d770c9d82fa87046cdd.tar.xz |
rtc: ftrtc010: drop needless struct ftrtc010_rtc::rtc_dev member
The memory pointed to by the ::rtc_dev 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.
Reviewed-by: Linus Walleij <linus.walleij@linaro.org>
Signed-off-by: André Draszik <andre.draszik@linaro.org>
Link: https://lore.kernel.org/r/20250304-rtc-cleanups-v2-6-d4689a71668c@linaro.org
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions