]> git.baikalelectronics.ru Git - kernel.git/commit
[BLUETOOTH]: Make hidp_setup_input() return int
authorWANG Cong <xiyou.wangcong@gmail.com>
Wed, 26 Sep 2007 05:57:31 +0000 (22:57 -0700)
committerDavid S. Miller <davem@sunset.davemloft.net>
Wed, 10 Oct 2007 23:52:39 +0000 (16:52 -0700)
commitfb4a8094f806d78da60e830b93da3e42cfddb944
tree4449d8f837fa9a17ab158957628538b7d47bb203
parent17087491ffbe432337c46352c9bdbed882592d79
[BLUETOOTH]: Make hidp_setup_input() return int

This patch:
- makes hidp_setup_input() return int to indicate errors;
- checks its return value to handle errors.

And this time it is against -rc7-mm1 tree.

Thanks to roel and Marcel Holtmann for comments.

Signed-off-by: WANG Cong <xiyou.wangcong@gmail.com>
Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/bluetooth/hidp/core.c