Rather than a detour via the devclass and hardcoding unit 0.
While here, remove a check for sc being NULL. It will never be NULL
when attach is called.
Differential D35010
acpi_toshiba: Use device_get_softc in attach. jhb on Apr 20 2022, 8:17 PM. Authored by Tags None Referenced Files
Subscribers None
Details Rather than a detour via the devclass and hardcoding unit 0. While here, remove a check for sc being NULL. It will never be NULL
Diff Detail
|