Changeset 34289ea in mainline for uspace/drv/bus/usb/usbmid/main.c


Ignore:
Timestamp:
2012-12-30T19:04:34Z (12 years ago)
Author:
Jan Vesely <jano.vesely@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
68e1023
Parents:
db8b7ca
Message:

usmid: return error code instead of weird bool rc conversions.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/drv/bus/usb/usbmid/main.c

    rdb8b7ca r34289ea  
    5353        usb_log_info("Taking care of new MID `%s'.\n", ddf_dev_get_name(dev->ddf_dev));
    5454
    55         const bool accept = usbmid_explore_device(dev);
    56 
    57         if (!accept) {
    58                 return ENOTSUP;
    59         }
    60 
    61         return EOK;
     55        return usbmid_explore_device(dev);
    6256}
    6357
Note: See TracChangeset for help on using the changeset viewer.