Thread (5 messages) flat view 5 messages, 3 authors, 2020-03-17

Re: [PATCH 1/2] rtc: mt2712: fix build without PM_SLEEP

From: Alexandre Belloni <alexandre.belloni@bootlin.com>
Date: 2020-03-17 13:15:11
Also in: linux-mediatek, linux-rtc, lkml

On 17/03/2020 13:30:10+0100, Geert Uytterhoeven wrote:
quoted
 static SIMPLE_DEV_PM_OPS(mt2712_pm_ops, mt2712_rtc_suspend,
                         mt2712_rtc_resume);
That's 23 more unused pointers in your kernel image.
This is true but, of the about 900 drivers setting pm callbacks, there
are only 39 doing that conditionally depending on CONFIG_PM or
CONFIG_PM_SLEEP. Interestingly, 9 of them are mediatek related.


-- 
Alexandre Belloni, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com

_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help