We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 101acad commit a68136fCopy full SHA for a68136f
include/linux/pwm.h
@@ -148,21 +148,6 @@ static inline u64 pwm_get_duty_cycle(const struct pwm_device *pwm)
148
return state.duty_cycle;
149
}
150
151
-static inline void pwm_set_phase(struct pwm_device *pwm, u64 phase)
152
-{
153
- if (pwm)
154
- pwm->state.phase = phase;
155
-}
156
-
157
-static inline u64 pwm_get_phase(const struct pwm_device *pwm)
158
159
- struct pwm_state state;
160
161
- pwm_get_state(pwm, &state);
162
163
- return state.phase;
164
165
166
static inline enum pwm_polarity pwm_get_polarity(const struct pwm_device *pwm)
167
{
168
struct pwm_state state;
0 commit comments