Page MenuHomeFreeBSD

gpioc: remove unnecessary bus_generic_* calls
ClosedPublic

Authored by vexeduxr on Aug 16 2025, 10:36 AM.
Tags
None
Referenced Files
Unknown Object (File)
Mon, Dec 1, 7:36 AM
Unknown Object (File)
Thu, Nov 27, 4:25 PM
Unknown Object (File)
Nov 24 2025, 7:43 PM
Unknown Object (File)
Nov 24 2025, 7:42 PM
Unknown Object (File)
Nov 24 2025, 7:42 PM
Unknown Object (File)
Nov 24 2025, 7:42 PM
Unknown Object (File)
Nov 24 2025, 7:40 PM
Unknown Object (File)
Nov 23 2025, 8:29 AM
Subscribers

Details

Summary

gpioc never has any children, so there's no need to call these.

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

sys/dev/gpio/gpioc.c
1064–1065

Are these needed?

sys/dev/gpio/gpioc.c
1064–1065

Ah, didn't notice those. They aren't.

vexeduxr retitled this revision from gpioc: remove unnecessary bus_generic_detach call to gpioc: remove unnecessary bus_generic_* calls.Aug 16 2025, 4:30 PM
vexeduxr edited the summary of this revision. (Show Details)

Remove unnecessary devmethods too.

This revision is now accepted and ready to land.Aug 19 2025, 2:37 PM