staging/easycap: convert comparison to NULL into boolean
authorTomas Winkler <tomas.winkler@intel.com>
Wed, 2 Mar 2011 22:10:51 +0000 (00:10 +0200)
committerGreg Kroah-Hartman <gregkh@suse.de>
Mon, 7 Mar 2011 21:24:04 +0000 (13:24 -0800)
commit6888393c43c95a40d551989e89cbf572423619e6
tree552fd21ec3c653ff4ca0a86be70cd5e5fe4155f7
parentfebd32bcfd09aeb543b229fd2896814a26d74d20
staging/easycap: convert comparison to NULL into boolean

convert if (NULL != ptr) to if (ptr)
convert if (NULL == ptr) to if (!ptr)

Cc: Mike Thomas <rmthomas@sciolus.org>
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_low.c
drivers/staging/easycap/easycap_main.c
drivers/staging/easycap/easycap_sound.c
drivers/staging/easycap/easycap_sound_oss.c
drivers/staging/easycap/easycap_testcard.c