mirror of
https://github.com/torvalds/linux.git
synced 2026-12-05 21:04:14 +00:00
Add a new function gpiochip_reserve() to reserve ranges of gpios that platform code has pre-allocated. That is, this marks gpio numbers which will be claimed by drivers that haven't yet been loaded, and thus are not available for dynamic gpio number allocation. [[email protected]: remove unneeded __must_check] [[email protected]: don't export gpiochip_reserve (section fix)] Signed-off-by: Anton Vorontsov <[email protected]> Signed-off-by: David Brownell <[email protected]> Signed-off-by: Andrew Morton <[email protected]> Signed-off-by: Linus Torvalds <[email protected]>