Commit 81d7555
phy: qcom-qmp-combo: Use regulator_bulk_data with init_load_uA for regulator setup
Replace the custom qmp_regulator_data structure with the standard
regulator_bulk_data and use the init_load_uA field to set regulator
load during initialization.
This change simplifies the regulator setup by removing manual
allocation and load configuration logic, and leverages
devm_regulator_bulk_get_const() to automatically apply load settings
before enabling regulators.
Signed-off-by: Faisal Hassan <faisal.hassan@oss.qualcomm.com>
Reviewed-by: Dmitry Baryshkov <dmitry.baryshkov@oss.qualcomm.com>
Reviewed-by: Neil Armstrong <neil.armstrong@linaro.org>
Reviewed-by: Bjorn Andersson <andersson@kernel.org>
Link: https://patch.msgid.link/20250922135901.2067-1-faisal.hassan@oss.qualcomm.com
Signed-off-by: Vinod Koul <vkoul@kernel.org>1 parent 0d616c2 commit 81d7555
1 file changed
Lines changed: 6 additions & 43 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1643 | 1643 | | |
1644 | 1644 | | |
1645 | 1645 | | |
1646 | | - | |
1647 | | - | |
1648 | | - | |
1649 | | - | |
1650 | | - | |
1651 | | - | |
1652 | | - | |
1653 | | - | |
| 1646 | + | |
| 1647 | + | |
| 1648 | + | |
1654 | 1649 | | |
1655 | 1650 | | |
1656 | 1651 | | |
| |||
1808 | 1803 | | |
1809 | 1804 | | |
1810 | 1805 | | |
1811 | | - | |
| 1806 | + | |
1812 | 1807 | | |
1813 | 1808 | | |
1814 | 1809 | | |
| |||
3439 | 3434 | | |
3440 | 3435 | | |
3441 | 3436 | | |
3442 | | - | |
3443 | | - | |
3444 | | - | |
3445 | | - | |
3446 | | - | |
3447 | | - | |
3448 | | - | |
3449 | | - | |
3450 | | - | |
3451 | | - | |
3452 | | - | |
3453 | | - | |
3454 | | - | |
3455 | | - | |
3456 | | - | |
3457 | | - | |
3458 | | - | |
3459 | | - | |
3460 | | - | |
3461 | | - | |
3462 | | - | |
3463 | | - | |
3464 | | - | |
3465 | | - | |
3466 | | - | |
3467 | | - | |
3468 | | - | |
3469 | | - | |
3470 | | - | |
3471 | | - | |
3472 | | - | |
3473 | | - | |
3474 | | - | |
3475 | 3437 | | |
3476 | 3438 | | |
3477 | 3439 | | |
| |||
4144 | 4106 | | |
4145 | 4107 | | |
4146 | 4108 | | |
4147 | | - | |
| 4109 | + | |
| 4110 | + | |
4148 | 4111 | | |
4149 | 4112 | | |
4150 | 4113 | | |
| |||
0 commit comments