linux/drivers/usb/phy
Uwe Kleine-König ed5c2f5fd1 i2c: Make remove callback return void
The value returned by an i2c driver's remove function is mostly ignored.
(Only an error message is printed if the value is non-zero that the
error is ignored.)

So change the prototype of the remove function to return no value. This
way driver authors are not tempted to assume that passing an error to
the upper layer is a good idea. All drivers are adapted accordingly.
There is no intended change of behaviour, all callbacks were prepared to
return 0 before.

Reviewed-by: Peter Senna Tschudin <peter.senna@gmail.com>
Reviewed-by: Jeremy Kerr <jk@codeconstruct.com.au>
Reviewed-by: Benjamin Mugnier <benjamin.mugnier@foss.st.com>
Reviewed-by: Javier Martinez Canillas <javierm@redhat.com>
Reviewed-by: Crt Mori <cmo@melexis.com>
Reviewed-by: Heikki Krogerus <heikki.krogerus@linux.intel.com>
Acked-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Acked-by: Marek Behún <kabel@kernel.org> # for leds-turris-omnia
Acked-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Reviewed-by: Petr Machata <petrm@nvidia.com> # for mlxsw
Reviewed-by: Maximilian Luz <luzmaximilian@gmail.com> # for surface3_power
Acked-by: Srinivas Pandruvada <srinivas.pandruvada@linux.intel.com> # for bmc150-accel-i2c + kxcjk-1013
Reviewed-by: Hans Verkuil <hverkuil-cisco@xs4all.nl> # for media/* + staging/media/*
Acked-by: Miguel Ojeda <ojeda@kernel.org> # for auxdisplay/ht16k33 + auxdisplay/lcd2s
Reviewed-by: Luca Ceresoli <luca.ceresoli@bootlin.com> # for versaclock5
Reviewed-by: Ajay Gupta <ajayg@nvidia.com> # for ucsi_ccg
Acked-by: Jonathan Cameron <Jonathan.Cameron@huawei.com> # for iio
Acked-by: Peter Rosin <peda@axentia.se> # for i2c-mux-*, max9860
Acked-by: Adrien Grassein <adrien.grassein@gmail.com> # for lontium-lt8912b
Reviewed-by: Jean Delvare <jdelvare@suse.de> # for hwmon, i2c-core and i2c/muxes
Acked-by: Corey Minyard <cminyard@mvista.com> # for IPMI
Reviewed-by: Vladimir Oltean <olteanv@gmail.com>
Acked-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
Acked-by: Sebastian Reichel <sebastian.reichel@collabora.com> # for drivers/power
Acked-by: Krzysztof Hałasa <khalasa@piap.pl>
Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
Signed-off-by: Wolfram Sang <wsa@kernel.org>
2022-08-16 12:46:26 +02:00
..
Kconfig usb: omap: avoid mach/*.h headers 2022-04-21 15:01:32 +02:00
Makefile usb: phy: Add driver for the Ingenic JZ4770 USB transceiver 2020-03-12 09:53:08 +01:00
of.c USB: phy: Remove redundant license text 2017-11-07 15:45:01 +01:00
phy-ab8500-usb.c usb: phy: phy-ab8500-usb: fix spello of "function" 2020-09-14 16:50:48 +02:00
phy-am335x-control.c usb: phy: am335x: convert to devm_platform_ioremap_resource_byname 2020-07-29 16:49:37 +02:00
phy-am335x-control.h License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
phy-am335x.c usb: phy-generic: Delete unused platform data 2020-01-15 10:39:20 +01:00
phy-fsl-usb.c usb: phy: fsl-usb: add IRQ check 2021-08-13 13:05:50 +02:00
phy-fsl-usb.h USB: phy: fsl-usb: remove character device usage 2020-07-03 10:18:41 +02:00
phy-generic.c usb: phy: generic: Get the vbus supply 2022-04-26 14:10:54 +02:00
phy-generic.h usb: phy-generic: Delete unused platform data 2020-01-15 10:39:20 +01:00
phy-gpio-vbus-usb.c usb: phy: phy-gpio-vbus-usb: Convert to GPIO descriptors 2020-01-23 19:20:57 +01:00
phy-isp1301-omap.c i2c: Make remove callback return void 2022-08-16 12:46:26 +02:00
phy-isp1301.c i2c: Make remove callback return void 2022-08-16 12:46:26 +02:00
phy-jz4770.c USB: PHY: JZ4770: Remove unnecessary function calls. 2020-12-05 13:39:30 +05:30
phy-keystone.c usb: phy: remove redundant store to variable var after & operation 2022-07-27 14:24:50 +02:00
phy-mv-usb.c usb: Remove redundant 'flush_workqueue()' calls 2021-11-17 14:36:57 +01:00
phy-mv-usb.h USB: phy: Use the correct style for SPDX License Identifier 2020-04-23 15:28:14 +02:00
phy-mxs-usb.c usb: phy: phy-mxs-usb: Use of_device_get_match_data() 2021-01-18 18:35:46 +01:00
phy-omap-otg.c extcon: Fix extcon_get_extcon_dev() error handling 2022-05-13 17:03:40 +09:00
phy-tahvo.c USB: phy: tahvo:remove unnecessary debug log 2021-10-05 12:51:07 +02:00
phy-tegra-usb.c usb: phy: tegra: Support OTG mode programming 2021-10-05 12:47:49 +02:00
phy-twl6030-usb.c usb: phy: twl6030: add IRQ checks 2021-08-13 13:05:50 +02:00
phy-ulpi-viewport.c usb: phy-ulpi-viewport: convert to readl_poll_timeout_atomic() 2020-09-25 16:30:05 +02:00
phy-ulpi.c usb: ulpi: Add resource-managed variant of otg_ulpi_create() 2020-01-09 16:21:57 +01:00
phy.c usb: phy: Fix page fault from usb_phy_uevent 2021-07-21 09:48:36 +02:00