diff options
| author | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2012-08-27 07:08:39 -0700 | 
|---|---|---|
| committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2012-08-27 07:08:39 -0700 | 
| commit | 9db48aaf18d675ac41f550c9384154e0c00de2ef (patch) | |
| tree | 70a19b9164c103e5f52dddff609e01672f8ef616 /drivers/pwm/core.c | |
| parent | 0592969e73ae50ce6852d1aff3d222a335289094 (diff) | |
| parent | fea7a08acb13524b47711625eebea40a0ede69a0 (diff) | |
| download | olio-linux-3.10-9db48aaf18d675ac41f550c9384154e0c00de2ef.tar.xz olio-linux-3.10-9db48aaf18d675ac41f550c9384154e0c00de2ef.zip  | |
Merge 3.6-rc3 into driver-core-next
This picks up the printk fixes in 3.6-rc3 that are needed in this branch.
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/pwm/core.c')
| -rw-r--r-- | drivers/pwm/core.c | 12 | 
1 files changed, 6 insertions, 6 deletions
diff --git a/drivers/pwm/core.c b/drivers/pwm/core.c index ecb76909e94..c6e05078d3a 100644 --- a/drivers/pwm/core.c +++ b/drivers/pwm/core.c @@ -129,8 +129,8 @@ static int pwm_device_request(struct pwm_device *pwm, const char *label)  	return 0;  } -static struct pwm_device *of_pwm_simple_xlate(struct pwm_chip *pc, -					      const struct of_phandle_args *args) +static struct pwm_device * +of_pwm_simple_xlate(struct pwm_chip *pc, const struct of_phandle_args *args)  {  	struct pwm_device *pwm; @@ -149,7 +149,7 @@ static struct pwm_device *of_pwm_simple_xlate(struct pwm_chip *pc,  	return pwm;  } -void of_pwmchip_add(struct pwm_chip *chip) +static void of_pwmchip_add(struct pwm_chip *chip)  {  	if (!chip->dev || !chip->dev->of_node)  		return; @@ -162,7 +162,7 @@ void of_pwmchip_add(struct pwm_chip *chip)  	of_node_get(chip->dev->of_node);  } -void of_pwmchip_remove(struct pwm_chip *chip) +static void of_pwmchip_remove(struct pwm_chip *chip)  {  	if (chip->dev && chip->dev->of_node)  		of_node_put(chip->dev->of_node); @@ -527,7 +527,7 @@ void __init pwm_add_table(struct pwm_lookup *table, size_t num)  struct pwm_device *pwm_get(struct device *dev, const char *con_id)  {  	struct pwm_device *pwm = ERR_PTR(-EPROBE_DEFER); -	const char *dev_id = dev ? dev_name(dev): NULL; +	const char *dev_id = dev ? dev_name(dev) : NULL;  	struct pwm_chip *chip = NULL;  	unsigned int index = 0;  	unsigned int best = 0; @@ -609,7 +609,7 @@ void pwm_put(struct pwm_device *pwm)  	mutex_lock(&pwm_lock);  	if (!test_and_clear_bit(PWMF_REQUESTED, &pwm->flags)) { -		pr_warning("PWM device already freed\n"); +		pr_warn("PWM device already freed\n");  		goto out;  	}  |