staging/easycap: improve coding style when checking return value
authorTomas Winkler <tomas.winkler@intel.com>
Thu, 3 Feb 2011 11:42:42 +0000 (13:42 +0200)
committerGreg Kroah-Hartman <gregkh@suse.de>
Fri, 4 Feb 2011 20:44:31 +0000 (12:44 -0800)
commit6911e7e4a6bed8ac7989137387f6a33ef65c2b56
treeb46ccc87865896d546c58ffc7afb5ed26a954b0c
parente0a691e35236d3600c47839c85f82188260e4169
staging/easycap: improve coding style when checking return value

use idiom 'if (rc)' for checking return value
instead of if (0 != rc)

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