diff options
author | Dan Carpenter <dan.carpenter@oracle.com> | 2015-08-12 21:08:01 (GMT) |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2015-08-12 23:53:11 (GMT) |
commit | e6d006938c9bda7ffd22af9d3e1257fd75941fb7 (patch) | |
tree | e8d5fb4d5bdbed5ebffa17f2bd51f6ac902a290c /drivers/usb | |
parent | e941ba8650338ed78e4cfbadca4eda6668a7fe56 (diff) | |
download | linux-e6d006938c9bda7ffd22af9d3e1257fd75941fb7.tar.xz |
cosa: missing error code on failure in probe()
If register_hdlc_device() fails, the current code returns 0 but we
should return an error code instead.
Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/usb')
0 files changed, 0 insertions, 0 deletions