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>
This commit is contained in:
Sudip Mukherjee 2015-09-04 16:22:03 +05:30 committed by Greg Kroah-Hartman
commit 9b532df0fc

View file

@ -430,7 +430,7 @@ static struct most_video_dev *get_aim_dev(
}
}
spin_unlock(&list_lock);
return 0;
return NULL;
}
static int aim_rx_data(struct mbo *mbo)