diff options
author | Alexandre Belloni <alexandre.belloni@bootlin.com> | 2020-04-15 22:00:21 +0200 |
---|---|---|
committer | Alexandre Belloni <alexandre.belloni@bootlin.com> | 2020-04-18 22:42:04 +0200 |
commit | 06030d5001494f67fe2dee65c49c2f0e54e34eba (patch) | |
tree | fbc07dc837e5e7912c50527eabed2aa74f60a9a5 /samples/ftrace | |
parent | 3642b17e9a8d32ddf8d74cd033de7efcd0a15aec (diff) |
rtc: mt2712: switch to devm_platform_ioremap_resource
Using devm_platform_ioremap_resource instead of open coding it reduces the
size of the binary.
text data bss dec hex filename
3728 216 0 3944 f68 drivers/rtc/rtc-mt2712.o
3744 216 0 3960 f78 drivers/rtc/rtc-mt2712.o.old
Link: https://lore.kernel.org/r/20200415200021.157118-2-alexandre.belloni@bootlin.com
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Diffstat (limited to 'samples/ftrace')
0 files changed, 0 insertions, 0 deletions