]> git.ipfire.org Git - thirdparty/linux.git/commit
usb: typec: tcpm/tcpci_maxim: convert to dev_err_probe()
authorAndré Draszik <andre.draszik@linaro.org>
Wed, 10 Jul 2024 10:36:21 +0000 (11:36 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 7 Aug 2024 10:49:31 +0000 (12:49 +0200)
commit6ba97b42a5f2e04367ae006f65f46f6c1ec78c0b
tree0a010643ebc08cf01339955918a588279292065a
parentfc64f1ce292d0adb9ac3c8b6e372412bb6aa3052
usb: typec: tcpm/tcpci_maxim: convert to dev_err_probe()

dev_err_probe() exists as a useful helper ensuring standardized
error messages during .probe() and using it also helps to make
the code more legible.

Use it.

Signed-off-by: André Draszik <andre.draszik@linaro.org>
Reviewed-by: Heikki Krogerus <heikki.krogerus@linux.intel.com>
Link: https://lore.kernel.org/r/20240710-tcpc-cleanup-v1-14-0ec1f41f4263@linaro.org
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/usb/typec/tcpm/tcpci_maxim_core.c