Merge tag 'pwm/for-6.2-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/thierry...
[sfrench/cifs-2.6.git] / include / linux / pwm.h
index bba492eea96c5552d84ec5a77fc78a35dad1bff4..161e91167b9c01de182731803d1d5e898ccd5e68 100644 (file)
@@ -276,8 +276,8 @@ struct pwm_ops {
                       struct pwm_capture *result, unsigned long timeout);
        int (*apply)(struct pwm_chip *chip, struct pwm_device *pwm,
                     const struct pwm_state *state);
-       void (*get_state)(struct pwm_chip *chip, struct pwm_device *pwm,
-                         struct pwm_state *state);
+       int (*get_state)(struct pwm_chip *chip, struct pwm_device *pwm,
+                        struct pwm_state *state);
        struct module *owner;
 };