From: Linus Walleij Date: Wed, 23 Apr 2014 21:08:02 +0000 (+0200) Subject: pinctrl: sirf: switch to using allocated state container X-Git-Tag: omap-for-v3.16/fixes-against-rc1~39^2~31^2~4 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=294d1351ff47726f0f110b88e816cbafe89512fb;p=pandora-kernel.git 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 Signed-off-by: Linus Walleij --- Reading git-diff-tree failed