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)
Wed, Apr 1, 8:08 AM
Unknown Object (File)
Tue, Mar 31, 4:10 AM
Unknown Object (File)
Mon, Mar 30, 11:17 PM
Unknown Object (File)
Mon, Mar 30, 3:43 AM
Unknown Object (File)
Mon, Mar 30, 3:39 AM
Unknown Object (File)
Fri, Mar 27, 5:41 AM
Unknown Object (File)
Thu, Mar 26, 11:21 PM
Unknown Object (File)
Thu, Mar 19, 8:58 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