diff options
author | Johan Hovold <johan+linaro@kernel.org> | 2025-05-23 10:48:37 +0200 |
---|---|---|
committer | Vinod Koul <vkoul@kernel.org> | 2025-06-15 22:02:41 +0530 |
commit | f21b9bea6bc29de88b885cecd5e4f0ada60d4700 (patch) | |
tree | d1e6261ac3458dfadbe2e77e5a072ec028b30713 /scripts/gdb/linux/clk.py | |
parent | b7996f8e9473cf8a594af1fa1bb799f8f28c0670 (diff) |
phy: phy-snps-eusb2: fix optional phy lookup parameter
The devm_of_phy_optional_get() takes an optional name argument as its
third parameter and not an index like the recently replaced
devm_of_phy_get_by_index().
Replace 0 with an explicit NULL for consistency and readability.
Signed-off-by: Johan Hovold <johan+linaro@kernel.org>
Reviewed-by: Neil Armstrong <neil.armstrong@linaro.org>
Reviewed-by: Abel Vesa <abel.vesa@linaro.org>
Link: https://lore.kernel.org/r/20250523084839.11015-6-johan+linaro@kernel.org
Signed-off-by: Vinod Koul <vkoul@kernel.org>
Diffstat (limited to 'scripts/gdb/linux/clk.py')
0 files changed, 0 insertions, 0 deletions