summaryrefslogtreecommitdiff
path: root/src/soc/qualcomm/common/usb
diff options
context:
space:
mode:
authorElyes Haouas <ehaouas@noos.fr>2022-11-18 15:08:13 +0100
committerFelix Held <felix-coreboot@felixheld.de>2022-11-23 16:30:58 +0000
commit977673894ff486af2ff74ba5585ca6039701eb8f (patch)
treeb9719dc91560c7f5fcb791da0c767979e9bb48e0 /src/soc/qualcomm/common/usb
parent334772008c547d971e2591ef53bd570c176572ed (diff)
src/soc/qualcomm: Remove unnecessary space after casts
Change-Id: Ic6c711fe3fad19c24ca4c01f8d0a4bc002f14bd6 Signed-off-by: Elyes Haouas <ehaouas@noos.fr> Reviewed-on: https://review.coreboot.org/c/coreboot/+/69807 Reviewed-by: Yu-Ping Wu <yupingso@google.com> Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Diffstat (limited to 'src/soc/qualcomm/common/usb')
-rw-r--r--src/soc/qualcomm/common/usb/qusb_phy.c2
-rw-r--r--src/soc/qualcomm/common/usb/snps_usb_phy.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/soc/qualcomm/common/usb/qusb_phy.c b/src/soc/qualcomm/common/usb/qusb_phy.c
index 494f7cd3b3..ddb087f0aa 100644
--- a/src/soc/qualcomm/common/usb/qusb_phy.c
+++ b/src/soc/qualcomm/common/usb/qusb_phy.c
@@ -96,7 +96,7 @@ void hs_usb_phy_init(void *board_data)
hs_phy_reg = &qusb_phy;
- hs_phy_reg->board_data = (struct usb_board_data *) board_data;
+ hs_phy_reg->board_data = (struct usb_board_data *)board_data;
/* PWR_CTRL: set the power down bit to disable the PHY */
diff --git a/src/soc/qualcomm/common/usb/snps_usb_phy.c b/src/soc/qualcomm/common/usb/snps_usb_phy.c
index 1b2d869bc4..d04694b0c7 100644
--- a/src/soc/qualcomm/common/usb/snps_usb_phy.c
+++ b/src/soc/qualcomm/common/usb/snps_usb_phy.c
@@ -36,7 +36,7 @@ struct hs_usb_phy_reg *hs_phy_reg = (void *)HS_USB_PRIM_PHY_BASE;
void hs_usb_phy_init(void *board_data)
{
struct usb_board_data *override_data =
- (struct usb_board_data *) board_data;
+ (struct usb_board_data *)board_data;
clrsetbits32(&hs_phy_reg->cfg0, UTMI_PHY_CMN_CTRL_OVERRIDE_EN,
UTMI_PHY_CMN_CTRL_OVERRIDE_EN);