summaryrefslogtreecommitdiff
path: root/drivers/pinctrl/intel/pinctrl-sunrisepoint.c
diff options
context:
space:
mode:
authorMika Westerberg <mika.westerberg@linux.intel.com>2017-01-10 17:31:57 +0300
committerLinus Walleij <linus.walleij@linaro.org>2017-01-11 13:52:37 +0100
commitf25c3aa9085e9625f3dcc20152dd780d01a54c5a (patch)
tree59780ebebc13051a7dc86979e8af2dae6dcfe67e /drivers/pinctrl/intel/pinctrl-sunrisepoint.c
parent003910ebc83bcac2ea543dbc6dfff2bc4fa67789 (diff)
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-sunrisepoint.c')
-rw-r--r--drivers/pinctrl/intel/pinctrl-sunrisepoint.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/pinctrl/intel/pinctrl-sunrisepoint.c b/drivers/pinctrl/intel/pinctrl-sunrisepoint.c
index c725a5313b4e..9877526c0807 100644
--- a/drivers/pinctrl/intel/pinctrl-sunrisepoint.c
+++ b/drivers/pinctrl/intel/pinctrl-sunrisepoint.c
@@ -574,7 +574,6 @@ static const struct dev_pm_ops spt_pinctrl_pm_ops = {
static struct platform_driver spt_pinctrl_driver = {
.probe = spt_pinctrl_probe,
- .remove = intel_pinctrl_remove,
.driver = {
.name = "sunrisepoint-pinctrl",
.acpi_match_table = spt_pinctrl_acpi_match,