pinctrl-baytrail: introduce to_byt_gpio() macro
authorAndy Shevchenko <andriy.shevchenko@linux.intel.com>
Wed, 10 Jul 2013 11:55:39 +0000 (14:55 +0300)
committerLinus Walleij <linus.walleij@linaro.org>
Mon, 22 Jul 2013 23:23:26 +0000 (01:23 +0200)
commit17e52464292320d0de260b146605d93326a9014c
tree13a567d6894759525771eb2f9d483cfb53e6199c
parent9c5b65579597609844ae248a6e76f614f02e3c42
pinctrl-baytrail: introduce to_byt_gpio() macro

The introduced macro helps to convert struct gpio_chip to struct byt_gpio.

Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Reviewed-by: Mika Westerberg <mika.westerberg@linux.intel.com>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
drivers/pinctrl/pinctrl-baytrail.c