fujitsu-laptop: Mark fujitsu_dmi_table[] DMI table as __initconst
authorMathias Krause <minipli@googlemail.com>
Wed, 16 Jul 2014 17:43:11 +0000 (19:43 +0200)
committerMatthew Garrett <matthew.garrett@nebula.com>
Sat, 16 Aug 2014 08:23:53 +0000 (01:23 -0700)
commitfbe9b79f8c574de1dfbd9eb933f4065af8738357
tree7876114f870dcf915bbe73dd282f3fadf3ff56f6
parent702ef54255350cc821cd1ea9095bc8b336235d26
fujitsu-laptop: Mark fujitsu_dmi_table[] DMI table as __initconst

The DMI table is only ever used during initialization. Mark it as
__initconst so its memory can be released afterwards -- roughly 1.5 kB.
In turn, the callback functions can be marked with __init, too.

Signed-off-by: Mathias Krause <minipli@googlemail.com>
Cc: Jonathan Woithe <jwoithe@just42.net>
Signed-off-by: Matthew Garrett <matthew.garrett@nebula.com>
drivers/platform/x86/fujitsu-laptop.c
This page took 0.027515 seconds and 5 git commands to generate.