diff options
| author | Mark Brown <broonie@kernel.org> | 2014-10-31 15:11:59 -0400 |
|---|---|---|
| committer | Mark Brown <broonie@kernel.org> | 2014-10-31 15:35:58 -0400 |
| commit | 194dbaefa0da24bb60d9df1c99dda807f51fc33f (patch) | |
| tree | 2d301dcc9738b0e1167ac09f85ff1dc8049a9990 | |
| parent | f114040e3ea6e07372334ade75d1ee0775c355e1 (diff) | |
regulator: Lower priority of constraint logging
Some systems have very large numbers of regulators so the constraint
logging done at startup can end up being a very big part of the boot
output which is both verbose and slows things down if the console is
a serial console. Lower to dev_dbg() instead, we may want to provide
a boot parameter to raise this in future but for now people can edit
the source.
Signed-off-by: Mark Brown <broonie@kernel.org>
Reviewed-by: Guenter Roeck <linux@roeck-us.net>
| -rw-r--r-- | drivers/regulator/core.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/regulator/core.c b/drivers/regulator/core.c index cd87c0c37034..df2af3a11351 100644 --- a/drivers/regulator/core.c +++ b/drivers/regulator/core.c | |||
| @@ -828,7 +828,7 @@ static void print_constraints(struct regulator_dev *rdev) | |||
| 828 | if (!count) | 828 | if (!count) |
| 829 | sprintf(buf, "no parameters"); | 829 | sprintf(buf, "no parameters"); |
| 830 | 830 | ||
| 831 | rdev_info(rdev, "%s\n", buf); | 831 | rdev_dbg(rdev, "%s\n", buf); |
| 832 | 832 | ||
| 833 | if ((constraints->min_uV != constraints->max_uV) && | 833 | if ((constraints->min_uV != constraints->max_uV) && |
| 834 | !(constraints->valid_ops_mask & REGULATOR_CHANGE_VOLTAGE)) | 834 | !(constraints->valid_ops_mask & REGULATOR_CHANGE_VOLTAGE)) |
