]> www.infradead.org Git - users/jedix/linux-maple.git/commit
usb: typec: tcpm/tcpci_maxim: sort TCPC_ALERT_MASK values by bit
authorAndré Draszik <andre.draszik@linaro.org>
Wed, 10 Jul 2024 10:36:15 +0000 (11:36 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 7 Aug 2024 10:49:30 +0000 (12:49 +0200)
commit57e154cc44d23802dcce6a9bcb210735a43cd201
tree0cd4ab473ba757d48b429ef03d06466ba44e24b7
parent7cd41974d2c81055f61ba9f69e31c02e866716e0
usb: typec: tcpm/tcpci_maxim: sort TCPC_ALERT_MASK values by bit

This makes it easier to see what's missing and what's being programmed.

While at it, add brackets to help with formatting and remove a comment
that doesn't add much value.

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