diff options
author | André Draszik <andre.draszik@linaro.org> | 2025-03-04 20:05:30 +0300 |
---|---|---|
committer | Alexandre Belloni <alexandre.belloni@bootlin.com> | 2025-03-06 01:08:00 +0300 |
commit | afe5f9f94d1116e14c84908c64f589aa142745c4 (patch) | |
tree | 7946f0b407b7730220af6d23f4072f88e84daa22 /tools/perf/scripts/python/export-to-sqlite.py | |
parent | 6c9405fd2581a1131c39fa9393d08a3cfe5d767b (diff) | |
download | linux-afe5f9f94d1116e14c84908c64f589aa142745c4.tar.xz |
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>
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions