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)
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>

No differences found