]> bbs.cooldavid.org Git - net-next-2.6.git/commit
staging: speakup: speakup_dectlk.c: style fixes
authorChristopher Brannon <cmbrannon79@gmail.com>
Fri, 15 Oct 2010 00:24:00 +0000 (19:24 -0500)
committerGreg Kroah-Hartman <gregkh@suse.de>
Fri, 15 Oct 2010 19:22:38 +0000 (12:22 -0700)
commit4073f1b6ab9c70d603b194b1bb415b9e742b245f
treed54fa80ea389bde8386205ca44c1c961cfc8eb21
parentc3d5d988207b9581fd9b215abca3662ecc87b5be
staging: speakup: speakup_dectlk.c: style fixes

* Clean this file based on reports from checkpatch.pl.
* Replace a function-like macro with an inline function.
* Remove an incorrect use of the volatile qualifier.  The
previously-volatile variable is now always protected by a spinlock.

Signed-off-by: Christopher Brannon <chris@the-brannons.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/staging/speakup/speakup_dectlk.c