linux/drivers/usb/typec
Dan Carpenter a9face8994 usb: typec: ucsi: acpi: fix a NULL vs IS_ERR() check in probe
The devm_memremap() function never returns NULL.  It returns error
pointers.

Fixes: cdc3d2abf4 ("usb: typec: ucsi: acpi: Map the mailbox with memremap()")
Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Reviewed-by: Heikki Krogerus <heikki.krogerus@linux.intel.com>
Acked-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
2022-05-30 18:03:38 +02:00
..
altmodes usb: typec: altmodes/displayport: Notify drm subsys of hotplug events 2021-08-20 12:35:59 +02:00
mux Linux 5.13-rc6 2021-06-14 09:18:07 +02:00
tcpm usb: typec: Factor out non-PD fwnode properties 2022-02-17 16:21:57 +01:00
tipd usb: typec: tipd: Forward plug orientation to typec subsystem 2022-03-03 15:45:42 +01:00
ucsi usb: typec: ucsi: acpi: fix a NULL vs IS_ERR() check in probe 2022-05-30 18:03:38 +02:00
bus.c bus: Make remove callback return void 2021-07-21 11:53:42 +02:00
bus.h usb: typec: Organize the private headers properly 2021-04-05 09:07:41 +02:00
class.c usb: typec: Factor out non-PD fwnode properties 2022-02-17 16:21:57 +01:00
class.h usb: typec: port-mapper: Convert to the component framework 2021-12-30 12:13:04 +01:00
hd3ss3220.c usb: typec: hd3ss3220: Use regmap_write_bits() 2021-09-14 10:12:06 +02:00
Kconfig usb: typec: Support the WUSB3801 port controller 2022-02-17 16:23:18 +01:00
Makefile usb: typec: Support the WUSB3801 port controller 2022-02-17 16:23:18 +01:00
mux.c Linux 5.13-rc6 2021-06-14 09:18:07 +02:00
mux.h usb: typec: mux: Use device type instead of device name for matching 2021-05-27 09:23:57 +02:00
port-mapper.c ACPI: bus: Introduce acpi_bus_for_each_dev() 2022-03-02 20:55:47 +01:00
qcom-pmic-typec.c usb: typec: Add QCOM PMIC typec detection driver 2020-10-09 15:14:43 +02:00
rt1719.c usb: typec: rt1719: Add support for Richtek RT1719 2022-02-11 11:59:17 +01:00
stusb160x.c usb: typec: stusb160x: Don't block probing of consumer of "connector" nodes 2021-07-21 09:16:40 +02:00
wusb3801.c usb: typec: Support the WUSB3801 port controller 2022-02-17 16:23:18 +01:00