modpost: fix trailing comma
authorRandy Dunlap <randy.dunlap@oracle.com>
Tue, 15 Mar 2011 21:13:47 +0000 (14:13 -0700)
committerMichal Marek <mmarek@suse.cz>
Thu, 17 Mar 2011 12:02:31 +0000 (13:02 +0100)
commit00759c0ea0d3b4c918539ddd7cbbfbbb39a38fc7
tree77fe2c1e373504e830c0f6d2312436f74963d0c5
parente1b702cf224df446b4ce0416dfb02858e7cc068b
modpost: fix trailing comma

Consolidate locations that print a section whitelist into
calls to print_section_list().

Fix print_section_list() so that it does not print a trailing
comma & space:

If the reference is valid then annotate the
variable with __init* or __refdata (see linux/init.h) or name the variable:
*_template, *_timer, *_sht, *_ops, *_probe, *_probe_one, *_console,

becomes:
If the reference is valid then annotate the
variable with __init* or __refdata (see linux/init.h) or name the variable:
*_template, *_timer, *_sht, *_ops, *_probe, *_probe_one, *_console

Signed-off-by: Randy Dunlap <randy.dunlap@oracle.com>
Signed-off-by: Michal Marek <mmarek@suse.cz>
scripts/mod/modpost.c