Make subr_bus.c more consistent with regard to style(9) and itself.
authorJoerg Sonnenberger <joerg@dragonflybsd.org>
Mon, 1 Mar 2004 16:57:44 +0000 (16:57 +0000)
committerJoerg Sonnenberger <joerg@dragonflybsd.org>
Mon, 1 Mar 2004 16:57:44 +0000 (16:57 +0000)
commit0deb64bd91110300f043084c44f30eb5187e3fa6
tree005dcedd2d5c92188c80fc624a708a805d28eb15
parent019e8fb933fca8848fa283c28269527227caad29
Make subr_bus.c more consistent with regard to style(9) and itself.

- adjust the 4 space indentation in the oldest parts
- use return(value) form
- move returns into the default case of certain switch statements
- make some pointer checks explicit against NULL
- reorder device_probe_and_attach to simplify the if's
- remove unnecessary return; at the end of functions
sys/kern/subr_bus.c