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:
parent
b0183053e3
commit
9b532df0fc
1 changed files with 1 additions and 1 deletions
|
|
@ -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)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue