Changeset 1433ecda in mainline for uspace/drv/char/sun4v-con


Ignore:
Timestamp:
2018-04-04T15:42:37Z (8 years ago)
Author:
Jiri Svoboda <jiri@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
2c4e1cc
Parents:
47b2d7e3
Message:

Fix cstyle: make ccheck-fix and commit only files where all the changes are good.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/drv/char/sun4v-con/main.c

    r47b2d7e3 r1433ecda  
    9494        errno_t rc;
    9595
    96         ddf_msg(LVL_DEBUG, "sun4v_con_dev_add(%p)", dev);
     96        ddf_msg(LVL_DEBUG, "sun4v_con_dev_add(%p)", dev);
    9797        sun4v_con = ddf_dev_data_alloc(dev, sizeof(sun4v_con_t));
    9898        if (sun4v_con == NULL) {
     
    114114static errno_t sun4v_con_dev_remove(ddf_dev_t *dev)
    115115{
    116         sun4v_con_t *sun4v_con = (sun4v_con_t *)ddf_dev_data_get(dev);
     116        sun4v_con_t *sun4v_con = (sun4v_con_t *)ddf_dev_data_get(dev);
    117117
    118         ddf_msg(LVL_DEBUG, "sun4v_con_dev_remove(%p)", dev);
     118        ddf_msg(LVL_DEBUG, "sun4v_con_dev_remove(%p)", dev);
    119119
    120         return sun4v_con_remove(sun4v_con);
     120        return sun4v_con_remove(sun4v_con);
    121121}
    122122
    123123static errno_t sun4v_con_dev_gone(ddf_dev_t *dev)
    124124{
    125         sun4v_con_t *sun4v_con = (sun4v_con_t *)ddf_dev_data_get(dev);
     125        sun4v_con_t *sun4v_con = (sun4v_con_t *)ddf_dev_data_get(dev);
    126126
    127         ddf_msg(LVL_DEBUG, "sun4v_con_dev_gone(%p)", dev);
     127        ddf_msg(LVL_DEBUG, "sun4v_con_dev_gone(%p)", dev);
    128128
    129         return sun4v_con_gone(sun4v_con);
     129        return sun4v_con_gone(sun4v_con);
    130130}
    131131
    132132static errno_t sun4v_con_fun_online(ddf_fun_t *fun)
    133133{
    134         ddf_msg(LVL_DEBUG, "sun4v_con_fun_online()");
    135         return ddf_fun_online(fun);
     134        ddf_msg(LVL_DEBUG, "sun4v_con_fun_online()");
     135        return ddf_fun_online(fun);
    136136}
    137137
    138138static errno_t sun4v_con_fun_offline(ddf_fun_t *fun)
    139139{
    140         ddf_msg(LVL_DEBUG, "sun4v_con_fun_offline()");
    141         return ddf_fun_offline(fun);
     140        ddf_msg(LVL_DEBUG, "sun4v_con_fun_offline()");
     141        return ddf_fun_offline(fun);
    142142}
    143143
Note: See TracChangeset for help on using the changeset viewer.