diff --git a/drivers/regulator/core.c b/drivers/regulator/core.c index 49a0b6a2e237b43392ca92a4a6d6254d8a7bae47..c20b28a63d15ad24cd90e8c3f818865f1d8e772f 100644 --- a/drivers/regulator/core.c +++ b/drivers/regulator/core.c @@ -1451,8 +1451,6 @@ static struct regulator_dev *regulator_lookup_by_name(const char *name) * regulator_dev_lookup - lookup a regulator device. * @dev: device for regulator "consumer". * @supply: Supply name or regulator ID. - * @ret: 0 on success, -ENODEV if lookup fails permanently, -EPROBE_DEFER if - * lookup could succeed in the future. * * If successful, returns a struct regulator_dev that corresponds to the name * @supply and with the embedded struct device refcount incremented by one.