aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGuodong Xu <guodong.xu@linaro.org>2013-02-01 09:01:54 +0800
committerGuodong Xu <guodong.xu@linaro.org>2013-02-01 09:01:54 +0800
commit89ba3992d94815f19a370fdbb3c4113a01cefd10 (patch)
tree437a0bb70bf914c6d3fd3dabe3c9330f06325ac7
parentfc67341a1470c9beded6130fcc9e2097550279ff (diff)
regulator: hi6421: remove debugging printktopic-hi6421-regulators
Remove debugging printk()'s added during hi6421 regulator driver development. Signed-off-by: Guodong Xu <guodong.xu@linaro.org>
-rw-r--r--drivers/of/platform.c2
-rw-r--r--drivers/regulator/of_regulator.c3
2 files changed, 1 insertions, 4 deletions
diff --git a/drivers/of/platform.c b/drivers/of/platform.c
index 8109565ee8b3..b80891b43816 100644
--- a/drivers/of/platform.c
+++ b/drivers/of/platform.c
@@ -383,7 +383,7 @@ static int of_platform_bus_create(struct device_node *bus,
return 0;
for_each_child_of_node(bus, child) {
- printk(" create child: %s\n", child->full_name);
+ pr_debug(" create child: %s\n", child->full_name);
rc = of_platform_bus_create(child, matches, lookup, &dev->dev, strict);
if (rc) {
of_node_put(child);
diff --git a/drivers/regulator/of_regulator.c b/drivers/regulator/of_regulator.c
index 0a6827826e37..6f684916fd79 100644
--- a/drivers/regulator/of_regulator.c
+++ b/drivers/regulator/of_regulator.c
@@ -32,9 +32,6 @@ static void of_get_regulation_constraints(struct device_node *np,
if (max_uV)
constraints->max_uV = be32_to_cpu(*max_uV);
- printk("regulator: name=%s,min/max=%d/%d\n", constraints->name,\
- constraints->min_uV, constraints->max_uV);
-
/* Voltage change possible? */
if (constraints->min_uV != constraints->max_uV)
constraints->valid_ops_mask |= REGULATOR_CHANGE_VOLTAGE;