HomeFreeBSD

Simplify sysctl stuff in the gpioths driver. There is no need to use local

Description

Simplify sysctl stuff in the gpioths driver. There is no need to use local
functions to handle the sysctls, they all just access simple readonly
integer variables. There's no need to track the oids of the ones we add,
since the teardown is done by newbus code, not the driver itself.

Also remove the DDB code, because it just provides access to the same data
that the sysctls already provide.

Details

Provenance
ianAuthored on
Parents
rS355531: Several small fixes for the gpioths (temp/humidity sensor) driver.
Branches
Unknown
Tags
Unknown