HomeFreeBSD

Consistently use `device_t`

Description

Consistently use device_t

Several files use the internal name of struct device instead of
device_t which is part of the public API. This patch changes all
struct device * to device_t.

The remaining occurrences of struct device are those referring to the
Linux or OpenBSD version of the structure, or the code is not built on
FreeBSD and it's unclear what to do.

Submitted by: Matthew Macy <mmacy@nextbsd.org> (previous version)
Approved by: emaste, jhibbits, sbruno
MFC after: 3 days
Differential Revision: https://reviews.freebsd.org/D7447

Details

Provenance
dumbbellAuthored on
Differential Revision
D7447: Kernel: Consistently use `device_t`
Parents
rS303889: libc/rpc: replace comma with semicolon when pertinent.
Branches
Unknown
Tags
Unknown