Changeset 9b56a8dd in mainline for uspace/drv/char/i8042/main.c


Ignore:
Timestamp:
2011-12-26T19:53:31Z (13 years ago)
Author:
Jan Vesely <jano.vesely@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
4005e37a
Parents:
b39eb79
Message:

i8042, ps2mouse, xtkbd:Drop newlines at the end of ddf_msg messages.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/drv/char/i8042/main.c

    rb39eb79 r9b56a8dd  
    9797        int ret = get_my_registers(device, &io_regs, &io_size, &kbd, &mouse);
    9898        CHECK_RET_RETURN(ret,
    99             "Failed to get registers: %s.\n", str_error(ret));
     99            "Failed to get registers: %s.", str_error(ret));
    100100        ddf_msg(LVL_DEBUG,
    101             "I/O regs at %p (size %zuB), IRQ kbd %d, IRQ mouse %d.\n",
     101            "I/O regs at %p (size %zuB), IRQ kbd %d, IRQ mouse %d.",
    102102            (void *) io_regs, io_size, kbd, mouse);
    103103
    104104        i8042_t *i8042 = ddf_dev_data_alloc(device, sizeof(i8042_t));
    105105        ret = (i8042 == NULL) ? ENOMEM : EOK;
    106         CHECK_RET_RETURN(ret, "Failed to allocate i8042 driver instance.\n");
     106        CHECK_RET_RETURN(ret, "Failed to allocate i8042 driver instance.");
    107107
    108108        ret = i8042_init(i8042, (void*)io_regs, io_size, kbd, mouse, device);
    109109        CHECK_RET_RETURN(ret,
    110             "Failed to initialize i8042 driver: %s.\n", str_error(ret));
     110            "Failed to initialize i8042 driver: %s.", str_error(ret));
    111111
    112         ddf_msg(LVL_NOTE, "Controlling '%s' (%" PRIun ").\n",
     112        ddf_msg(LVL_NOTE, "Controlling '%s' (%" PRIun ").",
    113113            device->name, device->handle);
    114114        return EOK;
Note: See TracChangeset for help on using the changeset viewer.