]> git.karo-electronics.de Git - linux-beck.git/commit
staging/easycap: implement strerror function
authorTomas Winkler <tomas.winkler@intel.com>
Mon, 24 Jan 2011 11:27:02 +0000 (13:27 +0200)
committerGreg Kroah-Hartman <gregkh@suse.de>
Mon, 24 Jan 2011 23:30:05 +0000 (07:30 +0800)
commit5c0c6c395ea8ad2f831c0717f67f957ba84550ad
treecdd02db5d987b473176ff8a1443bbfc1a93d805a
parent482cd2d8d85517b6444d646ae7874e0bb935746b
staging/easycap: implement strerror function

Replace long switch statements that just print out errno
with strerror function. It reduces around 700 lines from the code.

The function should be probably dropped at all but leave for now
to not break currently expected debug output.

Signed-off-by: Tomas Winkler <tomas.winkler@intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/staging/easycap/easycap.h
drivers/staging/easycap/easycap_main.c
drivers/staging/easycap/easycap_sound.c