linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 0/2] RTF: pinctrl: sirf: state container refactorings
@ 2014-04-23 21:16 Linus Walleij
  2014-04-23 21:16 ` [PATCH 1/2] RFT: pinctrl: sirf: switch to using allocated state container Linus Walleij
  2014-04-23 21:16 ` [PATCH 2/2] RFT: pinctrl: sirf: move sgpio lock into " Linus Walleij
  0 siblings, 2 replies; 12+ messages in thread
From: Linus Walleij @ 2014-04-23 21:16 UTC (permalink / raw)
  To: linux-kernel, Barry Song, Barry Song; +Cc: linux-gpio, Linus Walleij

This is a refactoring attempt that may not work as I can't test it
(it compiles), but you sure can see what I want to happen in the SIRF
driver.

By registering the GPIO range from the gpiochip side we can get rid
of the static globals and be a nice kernel citizen. See further
Documentation/driver-model/design-patterns.txt.

Linus Walleij (2):
  RFT: pinctrl: sirf: switch to using allocated state container
  RFT: pinctrl: sirf: move sgpio lock into state container

 drivers/pinctrl/sirf/pinctrl-sirf.c | 240 ++++++++++++++++++++----------------
 1 file changed, 134 insertions(+), 106 deletions(-)

-- 
1.9.0


^ permalink raw reply	[flat|nested] 12+ messages in thread

end of thread, other threads:[~2014-05-28  8:43 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-04-23 21:16 [PATCH 0/2] RTF: pinctrl: sirf: state container refactorings Linus Walleij
2014-04-23 21:16 ` [PATCH 1/2] RFT: pinctrl: sirf: switch to using allocated state container Linus Walleij
2014-05-01 12:29   ` Barry Song
2014-05-09 11:53     ` Linus Walleij
2014-05-25  8:26       ` Barry Song
2014-05-27 13:27         ` Linus Walleij
2014-05-27 15:10           ` Barry Song
2014-05-28  8:43             ` Linus Walleij
2014-04-23 21:16 ` [PATCH 2/2] RFT: pinctrl: sirf: move sgpio lock into " Linus Walleij
2014-05-01 12:40   ` Barry Song
2014-05-09 11:57     ` Linus Walleij
2014-05-25  7:51       ` Barry Song

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).