1
0
mirror of https://github.com/torvalds/linux.git synced 2025-04-12 03:57:45 +00:00
André Draszik 3d5d0fe1cb rtc: pl030: drop needless struct pl030_rtc::rtc member
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.

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-10-d4689a71668c@linaro.org
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
2025-03-05 23:08:00 +01:00
..
2025-03-03 22:52:29 +01:00