HomeFreeBSD

sdhci_fdt_rockchip: Don't return 0 from probe routine

Description

sdhci_fdt_rockchip: Don't return 0 from probe routine

The only write to the softc is a no-op (softcs are initialized to all
zeroes), so remove that and just use BUS_PROBE_DEFAULT.

Reviewed by: bnovkov
Differential Revision: https://reviews.freebsd.org/D55159

Details

Provenance
jhbAuthored on Feb 9 2026, 4:27 PM
Reviewer
bnovkov
Differential Revision
D55159: sdhci_fdt_rockchip: Don't return 0 from probe routine
Parents
rGefdd30c94e0a: sdhci_fdt_rockchip: Move ofw_bus_status_okay check
Branches
Unknown
Tags
Unknown