staging: most: return NULL instead of integer
authorSudip Mukherjee <sudipm.mukherjee@gmail.com>
Fri, 4 Sep 2015 10:52:03 +0000 (16:22 +0530)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sun, 13 Sep 2015 01:24:43 +0000 (18:24 -0700)
commit9b532df0fc1eb0834261d9cfbeef0f346c817d7f
tree43bc32ca3d8c90510f4a2d0b93bd812de2b78f9a
parentb0183053e31a51f7814b5ea257db010b924b3857
staging: most: return NULL instead of integer

The return type of get_aim_dev() is a pointer but we were returning 0
incase of failure.

Signed-off-by: Sudip Mukherjee <sudip@vectorindia.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/most/aim-v4l2/video.c