]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
usb: typec: Use FIELD_MODIFY()
authorHans Zhang <18255117159@163.com>
Thu, 30 Apr 2026 16:39:19 +0000 (00:39 +0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 21 May 2026 14:43:04 +0000 (16:43 +0200)
commitdfb128920f7502062896ce4b304e155224cd4e07
treef7b69f044d71996b77327106fca49b6902e1086b
parentbcb5da7a9f279ba47b12563f131219deec5055a9
usb: typec: Use FIELD_MODIFY()

Use FIELD_MODIFY() to remove open-coded bit manipulation.
No functional change intended.

Signed-off-by: Hans Zhang <18255117159@163.com>
Link: https://patch.msgid.link/20260430163919.47372-7-18255117159@163.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/usb/typec/tcpm/tcpci.c