Changeset 77ad86c in mainline for uspace/lib/usbdev/src/hub.c


Ignore:
Timestamp:
2012-06-01T19:00:32Z (13 years ago)
Author:
Martin Decky <martin@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
b713ff80
Parents:
4e5dabf
Message:

cstyle (no change in functionality)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/lib/usbdev/src/hub.c

    r4e5dabf r77ad86c  
    3333 * Functions needed by hub drivers.
    3434 */
     35
    3536#include <usb/dev/hub.h>
    3637#include <usb/dev/pipes.h>
     
    114115        return EOK;
    115116}
    116 
    117117
    118118/** Wrapper for registering attached device to the hub.
     
    160160    ddf_dev_ops_t *dev_ops, void *new_dev_data, ddf_fun_t **new_fun)
    161161{
    162         if (new_fun == NULL || hc_conn == NULL)
     162        if ((new_fun == NULL) || (hc_conn == NULL))
    163163                return EINVAL;
    164164
Note: See TracChangeset for help on using the changeset viewer.