summaryrefslogtreecommitdiff
path: root/drivers/usb
diff options
context:
space:
mode:
authorDan Carpenter <dan.carpenter@oracle.com>2015-08-12 21:08:01 (GMT)
committerDavid S. Miller <davem@davemloft.net>2015-08-12 23:53:11 (GMT)
commite6d006938c9bda7ffd22af9d3e1257fd75941fb7 (patch)
treee8d5fb4d5bdbed5ebffa17f2bd51f6ac902a290c /drivers/usb
parente941ba8650338ed78e4cfbadca4eda6668a7fe56 (diff)
downloadlinux-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