pwm: deprecate of_pwm_xlate_with_flags()
authorLothar Waßmann <LW@KARO-electronics.de>
Fri, 7 Mar 2014 08:34:01 +0000 (09:34 +0100)
committerLothar Waßmann <LW@KARO-electronics.de>
Fri, 7 Mar 2014 08:34:01 +0000 (09:34 +0100)
drivers/pwm/core.c
include/linux/pwm.h

index bca83ba..0b0a733 100644 (file)
@@ -160,8 +160,8 @@ static struct pwm_device *of_pwm_xlate(struct pwm_chip *pc,
 }
 
 struct pwm_device *
-of_pwm_xlate_with_flags(struct pwm_chip *pc,
-                       const struct of_phandle_args *args)
+__deprecated of_pwm_xlate_with_flags(struct pwm_chip *pc,
+                               const struct of_phandle_args *args)
 {
        return of_pwm_xlate(pc, args);
 }
index f0feafd..0a9e2f7 100644 (file)
@@ -188,7 +188,7 @@ struct pwm_device *pwm_request_from_chip(struct pwm_chip *chip,
                                         unsigned int index,
                                         const char *label);
 
-struct pwm_device *of_pwm_xlate_with_flags(struct pwm_chip *pc,
+struct pwm_device * __deprecated of_pwm_xlate_with_flags(struct pwm_chip *pc,
                const struct of_phandle_args *args);
 
 struct pwm_device *pwm_get(struct device *dev, const char *con_id);