diff options
| author | Krzysztof Kozlowski <krzysztof.kozlowski@oss.qualcomm.com> | 2026-02-16 12:04:16 +0100 |
|---|---|---|
| committer | Vinod Koul <vkoul@kernel.org> | 2026-02-27 20:03:38 +0530 |
| commit | b6b7d1ae0653dcaa356be31c0de221311e922ccd (patch) | |
| tree | 5ba3a70b39d06da095f0e0acb0f8f88a136a00d7 /include/linux/platform_data | |
| parent | c77eee5b44b8d32d471cf17fa193b395e321ef37 (diff) | |
phy: qcom: qmp-usbc: Simplify check for non-NULL pointer
Pointers should not use explicit '0' comparison, so just use standard
evaluation as non-NULL:
phy-qcom-qmp-usbc.c:1682:31: warning: Using plain integer as NULL pointer
Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@oss.qualcomm.com>
Reviewed-by: Abel Vesa <abel.vesa@oss.qualcomm.com>
Reviewed-by: Dmitry Baryshkov <dmitry.baryshkov@oss.qualcomm.com>
Reviewed-by: Konrad Dybcio <konrad.dybcio@oss.qualcomm.com>
Link: https://patch.msgid.link/20260216110413.159994-6-krzysztof.kozlowski@oss.qualcomm.com
Signed-off-by: Vinod Koul <vkoul@kernel.org>
Diffstat (limited to 'include/linux/platform_data')
0 files changed, 0 insertions, 0 deletions
