linux/drivers/pinctrl/intel
Uwe Kleine-König e0ba7366a6 pinctrl: cherryview: Convert to platform remove callback returning void
The .remove() callback for a platform driver returns an int which makes
many driver authors wrongly assume it's possible to do error handling by
returning an error code. However the value returned is ignored (apart
from emitting a warning) and this typically results in resource leaks.

To improve here there is a quest to make the remove callback return
void. In the first step of this quest all drivers are converted to
.remove_new(), which already returns void. Eventually after all drivers
are converted, .remove_new() will be renamed to .remove().

Trivially convert this driver from always returning zero in the remove
callback to the void returning variant.

Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
Acked-by: Mika Westerberg <mika.westerberg@linux.intel.com>
Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
2023-10-11 23:40:49 +03:00
..
Kconfig pinctrl: intel: consolidate ACPI dependency 2023-08-22 14:47:42 +03:00
Kconfig.tng pinctrl: moorefield: Adapt to Intel Tangier driver 2023-08-15 17:31:50 +03:00
Makefile pinctrl: tangier: Introduce Intel Tangier driver 2023-08-15 17:31:50 +03:00
pinctrl-alderlake.c pinctrl: intel: Switch to use exported namespace 2023-08-15 19:21:38 +03:00
pinctrl-baytrail.c pinctrl: baytrail: Replace kernel.h by what is actually being used 2023-10-03 16:29:30 +03:00
pinctrl-broxton.c pinctrl: broxton: Replace MODULE_ALIAS() with MODULE_DEVICE_TABLE() 2023-10-06 11:23:10 +03:00
pinctrl-cannonlake.c pinctrl: intel: Switch to use exported namespace 2023-08-15 19:21:38 +03:00
pinctrl-cedarfork.c pinctrl: intel: Switch to use exported namespace 2023-08-15 19:21:38 +03:00
pinctrl-cherryview.c pinctrl: cherryview: Convert to platform remove callback returning void 2023-10-11 23:40:49 +03:00
pinctrl-denverton.c pinctrl: denverton: Replace MODULE_ALIAS() with MODULE_DEVICE_TABLE() 2023-10-06 11:23:25 +03:00
pinctrl-elkhartlake.c pinctrl: intel: Switch to use exported namespace 2023-08-15 19:21:38 +03:00
pinctrl-emmitsburg.c pinctrl: intel: Switch to use exported namespace 2023-08-15 19:21:38 +03:00
pinctrl-geminilake.c pinctrl: intel: Switch to use exported namespace 2023-08-15 19:21:38 +03:00
pinctrl-icelake.c pinctrl: intel: Switch to use exported namespace 2023-08-15 19:21:38 +03:00
pinctrl-intel.c pinctrl: intel: refine intel_config_set_pull() function 2023-10-03 16:29:30 +03:00
pinctrl-intel.h pinctrl: intel: Replace kernel.h by what is actually being used 2023-10-03 16:29:30 +03:00
pinctrl-jasperlake.c pinctrl: intel: Switch to use exported namespace 2023-08-15 19:21:38 +03:00
pinctrl-lakefield.c pinctrl: intel: Switch to use exported namespace 2023-08-15 19:21:38 +03:00
pinctrl-lewisburg.c pinctrl: intel: Switch to use exported namespace 2023-08-15 19:21:38 +03:00
pinctrl-lynxpoint.c pinctrl: lynxpoint: Replace kernel.h by what is actually being used 2023-10-03 16:29:31 +03:00
pinctrl-merrifield.c pinctrl: merrifield: Replace kernel.h by what is actually being used 2023-10-03 16:29:31 +03:00
pinctrl-meteorlake.c pinctrl: intel: Switch to use exported namespace 2023-08-15 19:21:38 +03:00
pinctrl-moorefield.c pinctrl: moorefield: Replace kernel.h by what is actually being used 2023-10-03 16:29:31 +03:00
pinctrl-sunrisepoint.c pinctrl: intel: Switch to use exported namespace 2023-08-15 19:21:38 +03:00
pinctrl-tangier.c pinctrl: tangier: Introduce Intel Tangier driver 2023-08-15 17:31:50 +03:00
pinctrl-tangier.h pinctrl: tangier: Introduce Intel Tangier driver 2023-08-15 17:31:50 +03:00
pinctrl-tigerlake.c pinctrl: intel: Switch to use exported namespace 2023-08-15 19:21:38 +03:00