pinctrl: intel: Convert to use devm_gpiochip_add_data()
authorMika Westerberg <mika.westerberg@linux.intel.com>
Tue, 10 Jan 2017 14:31:57 +0000 (17:31 +0300)
committerLinus Walleij <linus.walleij@linaro.org>
Wed, 11 Jan 2017 12:52:37 +0000 (13:52 +0100)
commitf25c3aa9085e9625f3dcc20152dd780d01a54c5a
tree59780ebebc13051a7dc86979e8af2dae6dcfe67e
parent003910ebc83bcac2ea543dbc6dfff2bc4fa67789
pinctrl: intel: Convert to use devm_gpiochip_add_data()

This simplifies error handling and allows us to drop intel_pinctrl_remove()
completely.

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