qualcommax: fix CPR of_property_present conversion
authorRobert Marko <[email protected]>
Mon, 1 Dec 2025 14:02:04 +0000 (15:02 +0100)
committerRobert Marko <[email protected]>
Mon, 1 Dec 2025 14:05:56 +0000 (15:05 +0100)
commit5bdf1b8d9c6354228655b6ced0d78c238e943d27
tree42975c87beda922f8b83f57a5bce4eb2274cebd1
parent401c0a03f13de816e1a5998e69bff82057b489d6
qualcommax: fix CPR of_property_present conversion

CPR conversion to of_property_present is broken in multiple places, either
by leaving the comma after now the last argument or by attempting to replace
an instance that actually uses the returned length.

So, lets fix these in order for qualcommax to compile again.

Fixes: c9e7f32c4c09 ("treewide: use of_property_present")
Signed-off-by: Robert Marko <[email protected]>
target/linux/qualcommax/patches-6.12/0901-regulator-add-Qualcomm-CPR-regulators.patch