Page MenuHomeFreeBSD

gpioc: remove unnecessary bus_generic_* calls
ClosedPublic

Authored by vexeduxr on Aug 16 2025, 10:36 AM.
Tags
None
Referenced Files
F133115869: D51933.id161091.diff
Thu, Oct 23, 2:46 AM
Unknown Object (File)
Thu, Oct 16, 1:46 AM
Unknown Object (File)
Sun, Oct 12, 4:12 AM
Unknown Object (File)
Sat, Oct 11, 10:44 PM
Unknown Object (File)
Sat, Oct 11, 10:44 PM
Unknown Object (File)
Sat, Oct 11, 10:44 PM
Unknown Object (File)
Sat, Oct 11, 1:25 PM
Unknown Object (File)
Sat, Oct 11, 5:10 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