diff options
author | Mika Westerberg <mika.westerberg@linux.intel.com> | 2017-01-10 15:31:57 +0100 |
---|---|---|
committer | Linus Walleij <linus.walleij@linaro.org> | 2017-01-11 13:52:37 +0100 |
commit | f25c3aa9085e9625f3dcc20152dd780d01a54c5a (patch) | |
tree | 59780ebebc13051a7dc86979e8af2dae6dcfe67e /drivers/pinctrl/intel/pinctrl-broxton.c | |
parent | pinctrl: Introduce TI IOdelay configuration driver (diff) | |
download | linux-f25c3aa9085e9625f3dcc20152dd780d01a54c5a.tar.xz linux-f25c3aa9085e9625f3dcc20152dd780d01a54c5a.zip |
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-broxton.c')
-rw-r--r-- | drivers/pinctrl/intel/pinctrl-broxton.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/pinctrl/intel/pinctrl-broxton.c b/drivers/pinctrl/intel/pinctrl-broxton.c index 59cb7a6fc5be..77e02faee411 100644 --- a/drivers/pinctrl/intel/pinctrl-broxton.c +++ b/drivers/pinctrl/intel/pinctrl-broxton.c @@ -1058,7 +1058,6 @@ static const struct dev_pm_ops bxt_pinctrl_pm_ops = { static struct platform_driver bxt_pinctrl_driver = { .probe = bxt_pinctrl_probe, - .remove = intel_pinctrl_remove, .driver = { .name = "broxton-pinctrl", .acpi_match_table = bxt_pinctrl_acpi_match, |