From: Mark Brown Date: Fri, 17 Dec 2010 16:04:12 +0000 (+0000) Subject: regulator: Clean up logging a bit X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=13ce29f80fe3f61d3865b90244b1d1430f553e9f;p=linux-beck.git regulator: Clean up logging a bit 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 Signed-off-by: Liam Girdwood --- diff --git a/drivers/regulator/core.c b/drivers/regulator/core.c index ab419f8b2a84..911b774c745c 100644 --- a/drivers/regulator/core.c +++ b/drivers/regulator/core.c @@ -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,