On 4/11/25 7:55 AM, Michal Simek wrote:
From: Padmarao Begari <padmarao.beg...@amd.com>
Apart from ENOENT observing return value as ENOSYS when
!DM_REGULATOR that's why cover both configurations.
Changed code is not working as operation should be "&&"
not "||" (ret != -ENOENT && ret != -ENOSYS).
Also fix the remove function where the regulator_set_enable_if_allowed()
function is returning an error.
Signed-off-by: Padmarao Begari <padmarao.beg...@amd.com>
Signed-off-by: Michal Simek <michal.si...@amd.com>
Reviewed-by: Marek Vasut <ma...@denx.de>