Changeset ab87db5 in mainline for uspace/drv/hid/usbhid/kbd/kbddev.c


Ignore:
Timestamp:
2019-02-23T17:16:01Z (5 years ago)
Author:
GitHub <noreply@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
8c193d83, ca0e838
Parents:
bc417660 (diff), 95a47b0 (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@…> (2019-02-23 17:16:01)
git-committer:
GitHub <noreply@…> (2019-02-23 17:16:01)
Message:

Merge pull request #157

Turn some function-like macros into functions

File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/drv/hid/usbhid/kbd/kbddev.c

    rbc417660 rab87db5  
    159159static void default_connection_handler(ddf_fun_t *fun, ipc_call_t *icall)
    160160{
    161         const sysarg_t method = IPC_GET_IMETHOD(*icall);
     161        const sysarg_t method = ipc_get_imethod(icall);
    162162        usb_kbd_t *kbd_dev = ddf_fun_data_get(fun);
    163163        async_sess_t *sess;
     
    165165        switch (method) {
    166166        case KBDEV_SET_IND:
    167                 kbd_dev->mods = IPC_GET_ARG1(*icall);
     167                kbd_dev->mods = ipc_get_arg1(icall);
    168168                usb_kbd_set_led(kbd_dev->hid_dev, kbd_dev);
    169169                async_answer_0(icall, EOK);
Note: See TracChangeset for help on using the changeset viewer.