André Draszik afe5f9f94d rtc: s5m: drop needless struct s5m_rtc_info::i2c member
When this driver was converted to using the devres managed i2c device
in commit 7db7ad0817fe ("rtc: s5m: use devm_i2c_new_dummy_device()"),
struct s5m_rtc_info::i2c became essentially unused.

We can drop it from the structure and just use a local temporary
variable, reducing runtime memory consumption by a few bytes.

Reviewed-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Signed-off-by: André Draszik <andre.draszik@linaro.org>
Link: https://lore.kernel.org/r/20250304-rtc-cleanups-v2-2-d4689a71668c@linaro.org
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
2025-03-05 23:08:00 +01:00
..
2024-03-08 12:05:10 +01:00
2024-09-27 08:18:43 -07:00
2025-01-13 23:07:18 +01:00
2024-08-28 21:54:51 +01:00
2025-03-03 22:52:29 +01:00
2025-01-29 00:42:29 +01:00
2024-11-11 22:13:39 +01:00
2025-02-28 17:56:23 +01:00
2024-05-07 23:40:10 +02:00
2024-11-25 23:32:50 +01:00
2024-09-12 00:33:24 +02:00