Changeset ee794529 in mainline for uspace/lib/usbhost/src/bus.c


Ignore:
Timestamp:
2017-10-22T16:38:19Z (7 years ago)
Author:
Petr Manek <petr.manek@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
89cefe78
Parents:
4594baa
Message:

Refactoring. Renamed functions in bus endpoint interface. Register/release is now register/unregister to prevent name collisions with use/release.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/lib/usbhost/src/bus.c

    r4594baa ree794529  
    106106                return ENOENT;
    107107
    108         return bus_release_endpoint(bus, ep);
     108        return bus_unregister_endpoint(bus, ep);
    109109}
    110110
     
    180180}
    181181
    182 int bus_release_endpoint(bus_t *bus, endpoint_t *ep)
     182int bus_unregister_endpoint(bus_t *bus, endpoint_t *ep)
    183183{
    184184        assert(bus);
     
    186186
    187187        fibril_mutex_lock(&bus->guard);
    188         const int r = bus->ops.release_endpoint(bus, ep);
     188        const int r = bus->ops.unregister_endpoint(bus, ep);
    189189        fibril_mutex_unlock(&bus->guard);
    190190
Note: See TracChangeset for help on using the changeset viewer.