Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
pinctrl: sirf: switch to using allocated state container
This rewrites the SIRF pinctrl driver to allocate a state container for the GPIO chip, just as is done for the pin controller, and use the gpiochip_add_pin_range() to add the range from the gpiochip side rather than adding the range from the pinctrl side. All resulting changes are done in order to pass around a state container rather than refer to a static global object. Acked-by: Barry Song <[email protected]> Signed-off-by: Linus Walleij <[email protected]>
- Loading branch information