From: Linus Walleij Date: Tue, 20 Nov 2012 13:25:07 +0000 (+0100) Subject: pinctrl: add function to retrieve range from pin X-Git-Tag: omap-for-v3.8/fixes-for-merge-window-v4-signed~94^2~11 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=9afbefb227792a3c195085d662050dcca748f521;p=pandora-kernel.git pinctrl: add function to retrieve range from pin This adds a function to the pinctrl core to retrieve the GPIO range associated with a certain pin for a certain controller. This is needed when a pinctrl driver want to look up the corresponding struct gpio_chip for a certain pin. As the GPIO drivers can now create these ranges themselves, the pinctrl driver no longer knows about all its associated GPIO chips. Reviewed-by: Stephen Warren Reviewed-by: Viresh Kumar Signed-off-by: Linus Walleij --- Reading git-diff-tree failed