From: Linus Walleij Date: Wed, 5 Jun 2013 13:30:33 +0000 (+0200) Subject: drivers: pinctrl sleep and idle states in the core X-Git-Tag: omap-for-v3.11/fixes-for-merge-window~29^2~59 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=14005ee270cad7078adbce6b7f3687b992a8334e;p=pandora-kernel.git drivers: pinctrl sleep and idle states in the core If a device have sleep and idle states in addition to the default state, look up these in the core and stash them in the pinctrl state container. Add accessor functions for pinctrl consumers to put the pins into "default", "sleep" and "idle" states passing nothing but the struct device * affected. Solution suggested by Kevin Hilman, Mark Brown and Dmitry Torokhov in response to a patch series from Hebbar Gururaja. Cc: Hebbar Gururaja Cc: Dmitry Torokhov Cc: Stephen Warren Acked-by: Wolfram Sang Acked-by: Greg Kroah-Hartman Reviewed-by: Mark Brown Reviewed-by: Kevin Hilman Signed-off-by: Linus Walleij --- Reading git-diff-tree failed