]> git.karo-electronics.de Git - mv-sheeva.git/commit
comedi vmk80xx: make rudimentary_check a static function
authorJ. Ali Harlow <ali@avrc.city.ac.uk>
Wed, 18 May 2011 18:18:51 +0000 (19:18 +0100)
committerGreg Kroah-Hartman <gregkh@suse.de>
Wed, 18 May 2011 21:32:04 +0000 (14:32 -0700)
commit587e500c40aef11163bf09d367b5c3b3aba820cc
tree16f9c3e3024966ee78295571c1b24ebe6e1517e7
parent311fda8e8b495e026fa1d24d9d5a211fc8be2aef
comedi vmk80xx: make rudimentary_check a static function

rudimentary_check is a macro with side-effects (it returns
on error) which is contary to CodingStyle. Replace it with
a static function.

Signed-off-by: J. Ali Harlow <ali@avrc.city.ac.uk>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/staging/comedi/drivers/vmk80xx.c