diff options
author | thompsa <thompsa@FreeBSD.org> | 2009-11-26 00:43:17 +0000 |
---|---|---|
committer | thompsa <thompsa@FreeBSD.org> | 2009-11-26 00:43:17 +0000 |
commit | 6745662f291e4a2ec843786b1a2278ae3c3ae675 (patch) | |
tree | 75f2e4cf4188e185060baa41ada36997b1b99d2d /sys/dev/usb/controller/avr32dci.c | |
parent | 62d1f26939126690c2bc23bbab214c4976da2647 (diff) | |
download | FreeBSD-src-6745662f291e4a2ec843786b1a2278ae3c3ae675.zip FreeBSD-src-6745662f291e4a2ec843786b1a2278ae3c3ae675.tar.gz |
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.
Diffstat (limited to 'sys/dev/usb/controller/avr32dci.c')
-rw-r--r-- | sys/dev/usb/controller/avr32dci.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/sys/dev/usb/controller/avr32dci.c b/sys/dev/usb/controller/avr32dci.c index 36980ad..8abe46c 100644 --- a/sys/dev/usb/controller/avr32dci.c +++ b/sys/dev/usb/controller/avr32dci.c @@ -1160,7 +1160,7 @@ avr32dci_clear_stall_sub(struct avr32dci_softc *sc, uint8_t ep_no, temp = AVR32_READ_4(sc, AVR32_EPTCFG(ep_no)); if (!(temp & AVR32_EPTCFG_EPT_MAPD)) { - DPRINTFN(0, "Chip rejected configuration\n"); + device_printf(sc->sc_bus.bdev, "Chip rejected configuration\n"); } else { AVR32_WRITE_4(sc, AVR32_EPTCTLENB(ep_no), AVR32_EPTCTL_EPT_ENABL); @@ -1840,7 +1840,8 @@ tr_handle_clear_port_feature: temp = AVR32_READ_4(sc, AVR32_EPTCFG(0)); if (!(temp & AVR32_EPTCFG_EPT_MAPD)) { - DPRINTFN(0, "Chip rejected configuration\n"); + device_printf(sc->sc_bus.bdev, + "Chip rejected configuration\n"); } else { AVR32_WRITE_4(sc, AVR32_EPTCTLENB(0), AVR32_EPTCTL_EPT_ENABL); |