diff options
author | Andrew Thompson <thompsa@FreeBSD.org> | 2009-11-26 00:43:17 +0000 |
---|---|---|
committer | Andrew Thompson <thompsa@FreeBSD.org> | 2009-11-26 00:43:17 +0000 |
commit | 767cb2e29d4183d9978a5973b5092c6e0079eb6b (patch) | |
tree | 75f2e4cf4188e185060baa41ada36997b1b99d2d /sys/dev/usb/controller/atmegadci.c | |
parent | 38281fea3e290f0b541415a5e6373ae31a22d2a8 (diff) | |
download | src-767cb2e29d4183d9978a5973b5092c6e0079eb6b.tar.gz src-767cb2e29d4183d9978a5973b5092c6e0079eb6b.zip |
Remove overuse of exclamation marks in kernel printfs, there mere fact a
message has been printed is enough to get someones attention. Also remove the
line number for DPRINTF/DPRINTFN, it already prints the funtion name and a
unique message.
Notes
Notes:
svn path=/head/; revision=199816
Diffstat (limited to 'sys/dev/usb/controller/atmegadci.c')
-rw-r--r-- | sys/dev/usb/controller/atmegadci.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/sys/dev/usb/controller/atmegadci.c b/sys/dev/usb/controller/atmegadci.c index 1ee8423d2b24..adbd972db6d5 100644 --- a/sys/dev/usb/controller/atmegadci.c +++ b/sys/dev/usb/controller/atmegadci.c @@ -1192,7 +1192,8 @@ atmegadci_clear_stall_sub(struct atmegadci_softc *sc, uint8_t ep_no, temp = ATMEGA_READ_1(sc, ATMEGA_UESTA0X); if (!(temp & ATMEGA_UESTA0X_CFGOK)) { - DPRINTFN(0, "Chip rejected configuration\n"); + device_printf(sc->sc_bus.bdev, + "Chip rejected configuration\n"); } } while (0); } @@ -1914,7 +1915,8 @@ tr_handle_clear_port_feature: /* check valid config */ temp = ATMEGA_READ_1(sc, ATMEGA_UESTA0X); if (!(temp & ATMEGA_UESTA0X_CFGOK)) { - DPRINTFN(0, "Chip rejected EP0 configuration\n"); + device_printf(sc->sc_bus.bdev, + "Chip rejected EP0 configuration\n"); } break; case UHF_C_PORT_SUSPEND: |