DEVFS - Remove use of make_adhoc_dev() by keyboard driver
authorMatthew Dillon <dillon@apollo.backplane.com>
Thu, 6 Aug 2009 00:13:23 +0000 (17:13 -0700)
committerMatthew Dillon <dillon@apollo.backplane.com>
Thu, 6 Aug 2009 00:13:23 +0000 (17:13 -0700)
commit8a0a8f435fd132eb2dd25091521da5a48375a9b2
tree16158eabb03899715d2c6409f1438ff330656ffe
parent9b8235015ece1ea902691f71bb66952cc76b85a9
DEVFS - Remove use of make_adhoc_dev() by keyboard driver

* Record the cdev_t for later detach instead of using make_adhoc_dev()
  to look it up.

* Clean the code up a bit.
sys/dev/misc/kbd/kbd.c
sys/dev/misc/kbd/kbdreg.h