rtc: s5m: De-inline large functions to save space
authorKrzysztof Kozlowski <k.kozlowski@samsung.com>
Tue, 16 Feb 2016 02:04:42 +0000 (11:04 +0900)
committerAlexandre Belloni <alexandre.belloni@free-electrons.com>
Mon, 14 Mar 2016 16:08:18 +0000 (17:08 +0100)
commit8124c7117ecd1e431a287be943e590452ff4092e
treea10161519c3351399650428e46b2113dafb03f7c
parent270a3bd6bdc2140708f88337c833e74ddafdcf61
rtc: s5m: De-inline large functions to save space

Few functions were marked inline even though they were relatively large
and sometimes used in multiple places. De-inline them to let the
compiler decide whether optimization makes sense. This fixes inline_hunt
report:
drivers/rtc/rtc-s5m.c: Deinline s5m8767_rtc_set_alarm_reg, save 704 bytes
drivers/rtc/rtc-s5m.c: Deinline s5m8767_wait_for_udr_update, save 192 bytes

Reported-by: Denys Vlasenko <vda.linux@googlemail.com>
Cc: Denys Vlasenko <vda.linux@googlemail.com>
Signed-off-by: Krzysztof Kozlowski <k.kozlowski@samsung.com>
Reviewed-by: Javier Martinez Canillas <javier@osg.samsung.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@free-electrons.com>
drivers/rtc/rtc-s5m.c