summaryrefslogtreecommitdiff
path: root/sys
diff options
context:
space:
mode:
authorAlexander Yurchenko <grange@cvs.openbsd.org>2006-01-15 22:18:49 +0000
committerAlexander Yurchenko <grange@cvs.openbsd.org>2006-01-15 22:18:49 +0000
commit1178f8d0b737507e2d2a5bf71f042ab5d0710d5a (patch)
tree21f905fc0b75a11ccbe73a943c58945b4b764a30 /sys
parenta1b8555a256d86e34f41f9829dc7a4f2397a7fc8 (diff)
Nit.
Diffstat (limited to 'sys')
-rw-r--r--sys/dev/gpio/gpioiic.c7
1 files changed, 2 insertions, 5 deletions
diff --git a/sys/dev/gpio/gpioiic.c b/sys/dev/gpio/gpioiic.c
index 1e7fc21983a..d7516991c02 100644
--- a/sys/dev/gpio/gpioiic.c
+++ b/sys/dev/gpio/gpioiic.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: gpioiic.c,v 1.2 2006/01/14 12:54:50 grange Exp $ */
+/* $OpenBSD: gpioiic.c,v 1.3 2006/01/15 22:18:48 grange Exp $ */
/*
* Copyright (c) 2006 Alexander Yurchenko <grange@openbsd.org>
@@ -88,10 +88,7 @@ gpioiic_match(struct device *parent, void *match, void *aux)
{
struct cfdata *cf = match;
- if (strcmp(cf->cf_driver->cd_name, "gpioiic") == 0)
- return (1);
-
- return (0);
+ return (strcmp(cf->cf_driver->cd_name, "gpioiic") == 0);
}
void