aboutsummaryrefslogtreecommitdiff
path: root/sys/dev/gpio
diff options
context:
space:
mode:
authorOleksandr Tymoshenko <gonzo@FreeBSD.org>2012-11-23 19:20:38 +0000
committerOleksandr Tymoshenko <gonzo@FreeBSD.org>2012-11-23 19:20:38 +0000
commit12ad19bc4c5752d57b49545c5ea297e13e2837b0 (patch)
treedd00b5e4551c409b880b4b9e9d2834995a1387b6 /sys/dev/gpio
parent8a5f892ea821666d8bd10b24e04838db55e58d53 (diff)
Notes
Diffstat (limited to 'sys/dev/gpio')
-rw-r--r--sys/dev/gpio/gpiobus.c7
1 files changed, 3 insertions, 4 deletions
diff --git a/sys/dev/gpio/gpiobus.c b/sys/dev/gpio/gpiobus.c
index 09ebe4e3dee3..c4a62f77978e 100644
--- a/sys/dev/gpio/gpiobus.c
+++ b/sys/dev/gpio/gpiobus.c
@@ -271,7 +271,6 @@ static int
gpiobus_child_location_str(device_t bus, device_t child, char *buf,
size_t buflen)
{
- // struct gpiobus_ivar *devi = GPIOBUS_IVAR(child);
snprintf(buf, buflen, "pins=?");
return (0);
@@ -349,7 +348,7 @@ gpiobus_acquire_bus(device_t busdev, device_t child)
GPIOBUS_ASSERT_LOCKED(sc);
if (sc->sc_owner)
- panic("rb_cpldbus: cannot serialize the access to device.");
+ panic("gpiobus: cannot serialize the access to device.");
sc->sc_owner = child;
}
@@ -362,9 +361,9 @@ gpiobus_release_bus(device_t busdev, device_t child)
GPIOBUS_ASSERT_LOCKED(sc);
if (!sc->sc_owner)
- panic("rb_cpldbus: releasing unowned bus.");
+ panic("gpiobus: releasing unowned bus.");
if (sc->sc_owner != child)
- panic("rb_cpldbus: you don't own the bus. game over.");
+ panic("gpiobus: you don't own the bus. game over.");
sc->sc_owner = NULL;
}