Skip to content

Commit

Permalink
odroid-c2:Remove pwm dev message
Browse files Browse the repository at this point in the history
Change-Id: Iae5f6c87a2ff4fc0972d27b73a6b9395f6f2f628
  • Loading branch information
ckkim authored and mdrjr committed Aug 19, 2016
1 parent 365fa20 commit b1d2c27
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 8 deletions.
14 changes: 7 additions & 7 deletions drivers/amlogic/pwm/pwm-ctrl.c
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ static ssize_t set_enable0(struct device *dev,
ret = sscanf(buf, "%u\n", &val);
if (!ret)
return -EINVAL;
dev_info(dev, "PWM_0 : %s [%d]\n", __func__, val);
dev_dbg(dev, "PWM_0 : %s [%d]\n", __func__, val);

mutex_lock(&ctrl->mutex);
if (val) {
Expand Down Expand Up @@ -94,7 +94,7 @@ static ssize_t set_duty0(struct device *dev,
dev_err(dev, "PWM_0 : Invalid param. Duty cycle range is 0 to 100\n");
return count;
}
dev_info(dev, "PWM_0 : %s [%d]\n", __func__, val);
dev_dbg(dev, "PWM_0 : %s [%d]\n", __func__, val);
ctrl->duty0 = val;

mutex_lock(&ctrl->mutex);
Expand Down Expand Up @@ -139,7 +139,7 @@ static ssize_t set_freq0(struct device *dev,
dev_err(dev, "PWM_0 : Invalid param. Frequency range is 46Hz to 1MHz\n");
return count;
}
dev_info(dev, "PWM_0 : %s [%d]\n", __func__, val);
dev_dbg(dev, "PWM_0 : %s [%d]\n", __func__, val);
ctrl->freq0 = val;

mutex_lock(&ctrl->mutex);
Expand Down Expand Up @@ -197,7 +197,7 @@ static ssize_t set_enable1(struct device *dev,
if (!ret)
return -EINVAL;

dev_info(dev, "PWM_1 : %s [%d]\n", __func__, val);
dev_dbg(dev, "PWM_1 : %s [%d]\n", __func__, val);
mutex_lock(&ctrl->mutex);
if (val) {
ctrl->pwm1_status = 1;
Expand Down Expand Up @@ -245,7 +245,7 @@ static ssize_t set_duty1(
dev_err(dev, "PWM_1 : Invalid param. Duty cycle range is 0 to 100\n");
return count;
}
dev_info(dev, "PWM_1 : %s [%d]\n", __func__, val);
dev_dbg(dev, "PWM_1 : %s [%d]\n", __func__, val);
ctrl->duty1 = val;

mutex_lock(&ctrl->mutex);
Expand Down Expand Up @@ -290,7 +290,7 @@ static ssize_t set_freq1(struct device *dev,
dev_err(dev, "PWM_1 : Invalid param. Frequency range is 46Hz to 1MHz\n");
return count;
}
dev_info(dev, "PWM_1 : %s [%d]\n", __func__, val);
dev_dbg(dev, "PWM_1 : %s [%d]\n", __func__, val);
ctrl->freq1 = val;

mutex_lock(&ctrl->mutex);
Expand Down Expand Up @@ -333,7 +333,7 @@ static struct attribute_group pwm1_ctrl_attr_group = {
static int pwm_ctrl_resume(struct platform_device *dev)
{
#if defined(DEBUG_PM_MSG)
dev_info(dev, "%s\n", __func__);
dev_dbg(dev, "%s\n", __func__);
#endif
return 0;
}
Expand Down
2 changes: 1 addition & 1 deletion drivers/amlogic/pwm/pwm-meson.c
Original file line number Diff line number Diff line change
Expand Up @@ -283,7 +283,7 @@ static int meson_pwm_probe(struct platform_device *pdev)
dev_err(&pdev->dev, "pinmux error\n");
return -ENODEV;
}
dev_info(&pdev->dev, "pinctrl_name = %s\n", prop_name);
dev_dbg(&pdev->dev, "pinctrl_name = %s\n", prop_name);

meson_pwm_init(dev, npwm);

Expand Down

0 comments on commit b1d2c27

Please sign in to comment.