Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

phy: rockchip: usbdp: Remove redundant ternary operators

Remove redundant ternary operators to clean up the code.

Signed-off-by: Liao Yuanhong <liaoyuanhong@vivo.com>
Link: https://lore.kernel.org/r/20250828122401.17441-4-liaoyuanhong@vivo.com
Signed-off-by: Vinod Koul <vkoul@kernel.org>

authored by

Liao Yuanhong and committed by
Vinod Koul
0c5375b0 e7ec3513

+1 -1
+1 -1
drivers/phy/rockchip/phy-rockchip-usbdp.c
··· 666 666 goto unlock_ret; 667 667 } 668 668 669 - udphy->flip = (orien == TYPEC_ORIENTATION_REVERSE) ? true : false; 669 + udphy->flip = orien == TYPEC_ORIENTATION_REVERSE; 670 670 rk_udphy_set_typec_default_mapping(udphy); 671 671 rk_udphy_usb_bvalid_enable(udphy, true); 672 672