aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-rw-r--r--include/linux/pwm.h4
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,
174struct pwm_device *of_pwm_xlate_with_flags(struct pwm_chip *pc, 174struct 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
177struct pwm_device *pwm_get(struct device *dev, const char *consumer); 177struct pwm_device *pwm_get(struct device *dev, const char *con_id);
178void pwm_put(struct pwm_device *pwm); 178void pwm_put(struct pwm_device *pwm);
179 179
180struct pwm_device *devm_pwm_get(struct device *dev, const char *consumer); 180struct pwm_device *devm_pwm_get(struct device *dev, const char *con_id);
181void devm_pwm_put(struct device *dev, struct pwm_device *pwm); 181void devm_pwm_put(struct device *dev, struct pwm_device *pwm);
182#else 182#else
183static inline int pwm_set_chip_data(struct pwm_device *pwm, void *data) 183static inline int pwm_set_chip_data(struct pwm_device *pwm, void *data)