summaryrefslogtreecommitdiff
path: root/scripts/lib/kdoc/kdoc_files.py
diff options
context:
space:
mode:
authorAndré Draszik <andre.draszik@linaro.org>2025-03-04 20:05:29 +0300
committerAlexandre Belloni <alexandre.belloni@bootlin.com>2025-03-06 01:08:00 +0300
commit6c9405fd2581a1131c39fa9393d08a3cfe5d767b (patch)
tree427132884b46b77fb290f0a0369134184c148dfb /scripts/lib/kdoc/kdoc_files.py
parentd659dfec7d351e3a9138009bdaa82a533d7bc462 (diff)
downloadlinux-6c9405fd2581a1131c39fa9393d08a3cfe5d767b.tar.xz
rtc: max77686: drop needless struct max77686_rtc_info::rtc member
When this driver was converted to using the devres managed i2c device in commit 59a7f24fceb3 ("rtc: max77686: convert to devm_i2c_new_dummy_device()"), struct max77686_rtc_info::rtc 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-1-d4689a71668c@linaro.org Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Diffstat (limited to 'scripts/lib/kdoc/kdoc_files.py')
0 files changed, 0 insertions, 0 deletions