https://github.com/torvalds/linux
Revision 681480cc568627ab252a8e03edaa44e4d7ccfa81 authored by Mathias Krause on 16 July 2014, 17:43:09 UTC, committed by Matthew Garrett on 16 August 2014, 08:23:52 UTC
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: Mathias Krause <minipli@googlemail.com>
Signed-off-by: Matthew Garrett <matthew.garrett@nebula.com>
1 parent 7e6c227
History
Tip revision: 681480cc568627ab252a8e03edaa44e4d7ccfa81 authored by Mathias Krause on 16 July 2014, 17:43:09 UTC
dell-laptop: Mark dell_quirks[] DMI table as __initconst
Tip revision: 681480c
File Mode Size
Documentation
arch
block
crypto
drivers
firmware
fs
include
init
ipc
kernel
lib
mm
net
samples
scripts
security
sound
tools
usr
virt
.gitignore -rw-r--r-- 1.1 KB
.mailmap -rw-r--r-- 4.7 KB
COPYING -rw-r--r-- 18.3 KB
CREDITS -rw-r--r-- 93.8 KB
Kbuild -rw-r--r-- 2.5 KB
Kconfig -rw-r--r-- 252 bytes
MAINTAINERS -rw-r--r-- 277.8 KB
Makefile -rw-r--r-- 52.8 KB
README -rw-r--r-- 18.3 KB
REPORTING-BUGS -rw-r--r-- 7.3 KB

README

back to top