Skip to content

Commit

Permalink
regulator: Clean up logging a bit
Browse files Browse the repository at this point in the history
The recent introduction of standard regulator API logging macros means
that all our log messages have at least the function name in them and
logging that the constraints are for the regulator API is probably a
bit much.

Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Signed-off-by: Liam Girdwood <lrg@slimlogic.co.uk>
  • Loading branch information
Mark Brown authored and Liam Girdwood committed Jan 12, 2011
1 parent 95a3c23 commit 13ce29f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/regulator/core.c
Original file line number Diff line number Diff line change
Expand Up @@ -739,7 +739,7 @@ static void print_constraints(struct regulator_dev *rdev)
if (constraints->valid_modes_mask & REGULATOR_MODE_STANDBY)
count += sprintf(buf + count, "standby");

rdev_info(rdev, "regulator: %s\n", buf);
rdev_info(rdev, "%s\n", buf);
}

static int machine_constraints_voltage(struct regulator_dev *rdev,
Expand Down

0 comments on commit 13ce29f

Please sign in to comment.