diff options
author | Mika Westerberg <mika.westerberg@linux.intel.com> | 2017-01-10 17:31:57 +0300 |
---|---|---|
committer | Linus Walleij <linus.walleij@linaro.org> | 2017-01-11 15:52:37 +0300 |
commit | f25c3aa9085e9625f3dcc20152dd780d01a54c5a (patch) | |
tree | 59780ebebc13051a7dc86979e8af2dae6dcfe67e /drivers/pinctrl/intel/pinctrl-intel.h | |
parent | 003910ebc83bcac2ea543dbc6dfff2bc4fa67789 (diff) | |
download | linux-f25c3aa9085e9625f3dcc20152dd780d01a54c5a.tar.xz |
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>
Diffstat (limited to 'drivers/pinctrl/intel/pinctrl-intel.h')
-rw-r--r-- | drivers/pinctrl/intel/pinctrl-intel.h | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/pinctrl/intel/pinctrl-intel.h b/drivers/pinctrl/intel/pinctrl-intel.h index b60215793017..c22c44485c5d 100644 --- a/drivers/pinctrl/intel/pinctrl-intel.h +++ b/drivers/pinctrl/intel/pinctrl-intel.h @@ -121,8 +121,6 @@ struct intel_pinctrl_soc_data { int intel_pinctrl_probe(struct platform_device *pdev, const struct intel_pinctrl_soc_data *soc_data); -int intel_pinctrl_remove(struct platform_device *pdev); - #ifdef CONFIG_PM_SLEEP int intel_pinctrl_suspend(struct device *dev); int intel_pinctrl_resume(struct device *dev); |