Merge "fix(st-pmic): remove deadcode from STPMIC2 driver" into integration

This commit is contained in:
Govindraj Raja 2025-02-26 21:22:21 +01:00 committed by TrustedFirmware Code Review
commit 0b2ea477be

View file

@ -1,5 +1,5 @@
/*
* Copyright (C) 2024, STMicroelectronics - All Rights Reserved
* Copyright (C) 2024-2025, STMicroelectronics - All Rights Reserved
*
* SPDX-License-Identifier: BSD-3-Clause
*/
@ -247,10 +247,6 @@ int stpmic2_regulator_levels_mv(struct pmic_handle_s *pmic,
{
const struct regul_struct *regul = &regul_table[id];
if (regul == NULL) {
return RET_ERROR_BAD_PARAMETERS;
}
if (levels_count != NULL) {
*levels_count = regul->volt_table_size;
}