]> www.infradead.org Git - linux.git/commit
topology: mark a function as __init to save some memory
authorChristophe JAILLET <christophe.jaillet@wanadoo.fr>
Sun, 21 Jun 2020 08:11:06 +0000 (10:11 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 10 Jul 2020 12:35:37 +0000 (14:35 +0200)
commit0d989da36b1512a6c61ebbd9b155969f0d2de436
treef12284d6ab161cd664b7a3fab8c2ff3c28661617
parent55c7549819e438f40a3ef1d8ac5c38b73390bcb7
topology: mark a function as __init to save some memory

'topology_sysfs_init()' is only called via 'device_initcall'.
It can be marked as __init to save a few bytes of memory.

Signed-off-by: Christophe JAILLET <christophe.jaillet@wanadoo.fr>
Link: https://lore.kernel.org/r/20200621081106.881915-1-christophe.jaillet@wanadoo.fr
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/base/topology.c