]> git.ipfire.org Git - thirdparty/linux.git/commit
usb: typec: tcpm/tcpci_maxim: drop STATUS_CHECK()
authorAndré Draszik <andre.draszik@linaro.org>
Wed, 10 Jul 2024 10:36:17 +0000 (11:36 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 7 Aug 2024 10:49:30 +0000 (12:49 +0200)
commit4d39e00481a6b15440872ada4c25614edb76199b
tree281be5f80d11d49fca2f13af6018d5f536ab2034
parent064e7e5a5d5f489cbce34ec8efe39199bfa7e1f7
usb: typec: tcpm/tcpci_maxim: drop STATUS_CHECK()

Only one user of STATUS_CHECK() remains, and the code can actually be
made more legible by simply avoiding the use of that wrapper macro,
allowing to also drop the macro altogether.

Do so.

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-10-0ec1f41f4263@linaro.org
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/usb/typec/tcpm/maxim_contaminant.c