Changeset 8565a42 in mainline for uspace/drv/bus/usb/ohci/ohci_rh.c


Ignore:
Timestamp:
2018-03-02T20:34:50Z (8 years ago)
Author:
GitHub <noreply@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
a1a81f69, d5e5fd1
Parents:
3061bc1 (diff), 34e1206 (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the (diff) links above to see all the changes relative to each parent.
git-author:
Jiří Zárevúcky <zarevucky.jiri@…> (2018-03-02 20:34:50)
git-committer:
GitHub <noreply@…> (2018-03-02 20:34:50)
Message:

Remove all trailing whitespace, everywhere.

See individual commit messages for details.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/drv/bus/usb/ohci/ohci_rh.c

    r3061bc1 r8565a42  
    409409        TEST_SIZE_INIT(0, port, hub);
    410410        const unsigned feature = uint16_usb2host(setup_packet->value);
    411        
     411
    412412        switch (feature) {
    413413        case USB_HUB_FEATURE_PORT_POWER:   /*8*/
    414414                {
    415415                        const uint32_t rhda = OHCI_RD(hub->registers->rh_desc_a);
    416                        
     416
    417417                        /* No power switching */
    418418                        if (rhda & RHDA_NPS_FLAG)
    419419                                return EOK;
    420                        
     420
    421421                        /* Ganged power switching, one port powers all */
    422422                        if (!(rhda & RHDA_PSM_FLAG)) {
Note: See TracChangeset for help on using the changeset viewer.