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>
This commit is contained in:

committed by
Linus Walleij

parent
003910ebc8
commit
f25c3aa908
@@ -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,
|
||||
|
Reference in New Issue
Block a user