Ignore:
Timestamp:
2018-03-22T06:49:35Z (6 years ago)
Author:
Jakub Jermar <jakub@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
77f0a1d
Parents:
3e242d2
git-author:
Jakub Jermar <jakub@…> (2018-03-21 23:29:06)
git-committer:
Jakub Jermar <jakub@…> (2018-03-22 06:49:35)
Message:

Prefer handle over ID in naming handle variables

File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/lib/drv/generic/remote_led_dev.c

    r3e242d2 ra46e56b  
    6666 *
    6767 */
    68 static void remote_led_color_set(ddf_fun_t *fun, void *ops, cap_call_handle_t callid,
     68static void remote_led_color_set(ddf_fun_t *fun, void *ops, cap_call_handle_t chandle,
    6969    ipc_call_t *call)
    7070{
     
    7373
    7474        if (!led_dev_ops->color_set) {
    75                 async_answer_0(callid, ENOTSUP);
     75                async_answer_0(chandle, ENOTSUP);
    7676                return;
    7777        }
    7878
    7979        errno_t rc = (*led_dev_ops->color_set)(fun, color);
    80         async_answer_0(callid, rc);
     80        async_answer_0(chandle, rc);
    8181}
    8282
Note: See TracChangeset for help on using the changeset viewer.