diff options
author | Peter Ujfalusi <peter.ujfalusi@ti.com> | 2012-12-21 04:43:57 -0500 |
---|---|---|
committer | Bryan Wu <cooloney@gmail.com> | 2013-02-01 20:47:05 -0500 |
commit | d4c0c4705bef1134339b038872ece3705a2783e0 (patch) | |
tree | 080ac02664ba39fec936202a6e3ba6ec572872b6 | |
parent | 0f86815ad0a2c0c70cbe0ecc2f80571726285461 (diff) |
pwm: Correct parameter name in header for *pwm_get() functions
To synchronize the header file definition and the actual code. In the code
the consumer parameter is named as con_id, change the header file and replace
consumer -> con_id in the parameter list.
Signed-off-by: Peter Ujfalusi <peter.ujfalusi@ti.com>
Ackedy-by: Thierry Reding <thierry.reding@avionic-design.de>
Signed-off-by: Bryan Wu <cooloney@gmail.com>
-rw-r--r-- | include/linux/pwm.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/include/linux/pwm.h b/include/linux/pwm.h index 6d661f32e0e4..cc908a5396f8 100644 --- a/include/linux/pwm.h +++ b/include/linux/pwm.h | |||
@@ -174,10 +174,10 @@ struct pwm_device *pwm_request_from_chip(struct pwm_chip *chip, | |||
174 | struct pwm_device *of_pwm_xlate_with_flags(struct pwm_chip *pc, | 174 | struct pwm_device *of_pwm_xlate_with_flags(struct pwm_chip *pc, |
175 | const struct of_phandle_args *args); | 175 | const struct of_phandle_args *args); |
176 | 176 | ||
177 | struct pwm_device *pwm_get(struct device *dev, const char *consumer); | 177 | struct pwm_device *pwm_get(struct device *dev, const char *con_id); |
178 | void pwm_put(struct pwm_device *pwm); | 178 | void pwm_put(struct pwm_device *pwm); |
179 | 179 | ||
180 | struct pwm_device *devm_pwm_get(struct device *dev, const char *consumer); | 180 | struct pwm_device *devm_pwm_get(struct device *dev, const char *con_id); |
181 | void devm_pwm_put(struct device *dev, struct pwm_device *pwm); | 181 | void devm_pwm_put(struct device *dev, struct pwm_device *pwm); |
182 | #else | 182 | #else |
183 | static inline int pwm_set_chip_data(struct pwm_device *pwm, void *data) | 183 | static inline int pwm_set_chip_data(struct pwm_device *pwm, void *data) |