On Fri, Mar 30, 2012 at 05:00:00PM -0600, Stephen Warren wrote: > From: Stephen Warren <swarren@xxxxxxxxxx> > > Recent pinctrl discussions concluded that gpiolib APIs should in fact do > whatever is required to mux a GPIO onto pins, by calling pinctrl APIs if > required. This change implements this for the Tegra GPIO driver, and removes > calls to the Tegra-specific APIs from drivers and board files. > > Cc: Chris Ball <cjb@xxxxxxxxxx> > Cc: linux-mmc@xxxxxxxxxxxxxxx > Signed-off-by: Stephen Warren <swarren@xxxxxxxxxx> > --- > v2: Adjusted per changes to latest version of Documentation/gpio.txt. > Fixed tegra_board_pinmux_bus_notify() to still check the device name, > so it waits for the pinmux device to be registered, not just /any/ device. Acked-by: Olof Johansson <olof@xxxxxxxxx> I'm quite glad to see this happen. Erik had the intention to keep pin setup separate from gpio drivers, but in the end it just results in duplicate setup of the same stuff in different places. In hindsight this does seem quite a bit cleaner. -Olof -- To unsubscribe from this list: send the line "unsubscribe linux-tegra" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html