pinctrl: at91: fix the pin_to_controller function
Other functions use pin_to_controller to retrieve a at91_gpio_chip structure,
so fix pin_to_controller to return the correct value.

Signed-off-by: Raphaël Poggi <poggi.raph@gmail.com>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
1 parent 9732308 commit 9c885a2a6ff1ad0e4b8acfbb7c149d8b72a347a0
@Raphaël Poggi Raphaël Poggi authored on 8 Sep 2014
Sascha Hauer committed on 9 Sep 2014
Showing 1 changed file
View
drivers/pinctrl/pinctrl-at91.c