X-Git-Url: https://git.kernelconcepts.de/?p=karo-tx-uboot.git;a=blobdiff_plain;f=test%2Fdm%2Fregulator.c;fp=test%2Fdm%2Fregulator.c;h=3d0056f2dc7bf13049d4d2c13e711bedf9aa8f77;hp=d279c04c840c415352716c96c4cf02c69c0f4233;hb=8b9df5891ef6065c6a74d459f919ba1a2acb5a0a;hpb=84475127afc5b42fece026ad1c8c797b8b315940 diff --git a/test/dm/regulator.c b/test/dm/regulator.c index d279c04c84..3d0056f2dc 100644 --- a/test/dm/regulator.c +++ b/test/dm/regulator.c @@ -210,7 +210,7 @@ static int dm_test_power_regulator_autoset(struct unit_test_state *uts) * Expected output state: uV=1200000; uA=200000; output enabled */ platname = regulator_names[BUCK1][PLATNAME]; - ut_assertok(regulator_autoset(platname, &dev_autoset, false)); + ut_assertok(regulator_autoset_by_name(platname, &dev_autoset)); /* Check, that the returned device is proper */ ut_assertok(regulator_get_by_platname(platname, &dev));