Skip to content
Commit 681480cc authored by Mathias Krause's avatar Mathias Krause Committed by Matthew Garrett
Browse files

dell-laptop: Mark dell_quirks[] DMI table as __initconst



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

Also the touchpad_led_init() function can be marked __init as it's only
referenced from dell_init() -- an __init function.

Signed-off-by: default avatarMathias Krause <minipli@googlemail.com>
Signed-off-by: default avatarMatthew Garrett <matthew.garrett@nebula.com>
parent 7e6c227c
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment