Skip to content

Commit

Permalink
pinctrl: sirf: switch to using allocated state container
Browse files Browse the repository at this point in the history
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
linusw committed May 28, 2014
1 parent ca6c551 commit 294d135
Showing 1 changed file with 121 additions and 93 deletions.
Loading

0 comments on commit 294d135

Please sign in to comment.