linux/drivers/phy/marvell
Krzysztof Kozlowski c77eee5b44 phy: marvell: mmp3-hsic: Avoid re-casting __iomem
__iomem annotated memory must be accessed via dedicated accessors, even
if actual code is correct (accessing the driver data in
mmp3_hsic_phy_init() brings back the __iomem cast), but dropping its
cast (with or without __force) when storing as driver data seems like
less readable code for any future changes.  Instead, add a dedicated
wrapping structure just to hold the pointer without changing the __iomem
cast.  This makes the code explicit, obvious and solves the sparse
warning:

  phy-mmp3-hsic.c:58:31: warning: cast removes address space '__iomem' of expression

Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@oss.qualcomm.com>
Link: https://patch.msgid.link/20260216110413.159994-5-krzysztof.kozlowski@oss.qualcomm.com
Signed-off-by: Vinod Koul <vkoul@kernel.org>
2026-02-27 20:03:38 +05:30
..
Kconfig phy: marvell: Do not enable by default during compile testing 2025-04-11 12:48:34 +05:30
Makefile drivers: phy: add support for Armada CP110 UTMI PHY 2021-03-30 23:32:53 +05:30
phy-armada38x-comphy.c phy: constify of_phandle_args in xlate 2024-02-23 17:43:14 +05:30
phy-armada375-usb2.c phy: constify of_phandle_args in xlate 2024-02-23 17:43:14 +05:30
phy-berlin-sata.c phy: constify of_phandle_args in xlate 2024-02-23 17:43:14 +05:30
phy-berlin-usb.c phy: Use device_get_match_data() 2023-10-13 15:45:40 +05:30
phy-mmp3-hsic.c phy: marvell: mmp3-hsic: Avoid re-casting __iomem 2026-02-27 20:03:38 +05:30
phy-mmp3-usb.c phy: Explicitly include correct DT includes 2023-07-17 11:52:56 +05:30
phy-mvebu-a3700-comphy.c phy: marvell: a3700-comphy: Fix hardcoded array size 2024-04-05 22:32:00 +05:30
phy-mvebu-a3700-utmi.c phy: Explicitly include correct DT includes 2023-07-17 11:52:56 +05:30
phy-mvebu-cp110-comphy.c phy: marvell: Fix spelling mistake "exlicitly" -> "explicitly" 2024-12-04 19:41:59 +05:30
phy-mvebu-cp110-utmi.c phy: mvebu-cp110-utmi: fix dr_mode property read from dts 2026-01-21 13:26:59 +05:30
phy-mvebu-sata.c phy: Explicitly include correct DT includes 2023-07-17 11:52:56 +05:30
phy-pxa-28nm-hsic.c phy: marvell: drop of_match_ptr for ID table 2023-03-20 18:14:59 +05:30
phy-pxa-28nm-usb2.c phy: Explicitly include correct DT includes 2023-07-17 11:52:56 +05:30
phy-pxa-usb.c phy: drop probe registration printks 2025-06-16 22:54:21 +05:30