|
@@ -778,6 +778,9 @@ static void print_constraints(struct regulator_dev *rdev)
|
|
|
if (constraints->valid_modes_mask & REGULATOR_MODE_STANDBY)
|
|
|
count += sprintf(buf + count, "standby");
|
|
|
|
|
|
+ if (!count)
|
|
|
+ sprintf(buf, "no parameters");
|
|
|
+
|
|
|
rdev_info(rdev, "%s\n", buf);
|
|
|
|
|
|
if ((constraints->min_uV != constraints->max_uV) &&
|