samples: mark {static|__init|__exit} for {init|exit} functions
authorQinghuang Feng <qhfeng.kernel@gmail.com>
Tue, 6 Jan 2009 22:40:52 +0000 (14:40 -0800)
committerLinus Torvalds <torvalds@linux-foundation.org>
Tue, 6 Jan 2009 23:59:12 +0000 (15:59 -0800)
commit7ec7fb394298c212c30e063c57e0aa895efe9439
treef2aa6cf2ff5d66595d5acb7d985bb157f67c6b29
parent9fe06081ef145d6582c39e18203b5fffe6f3abc2
samples: mark {static|__init|__exit} for {init|exit} functions

None of these (init|exit) functions is called from other functions which
is outside the kernel module mechanism or kernel itself, so mark them as
{static|__init|__exit}.

Signed-off-by: Qinghuang Feng <qhfeng.kernel@gmail.com>
Cc: Mathieu Desnoyers <mathieu.desnoyers@polymtl.ca>
Acked-by: Greg Kroah-Hartman <gregkh@suse.de>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
samples/firmware_class/firmware_sample_driver.c
samples/kobject/kobject-example.c
samples/kobject/kset-example.c
samples/markers/marker-example.c
samples/tracepoints/tracepoint-probe-sample.c
samples/tracepoints/tracepoint-probe-sample2.c
samples/tracepoints/tracepoint-sample.c