Skip to content

Commit a68136f

Browse files
ukleineknunojsa
authored andcommitted
pwm: Drop two API functions
These functions only exist in this vendor tree and are unused. So drop them. Signed-off-by: Uwe Kleine-König <u.kleine-koenig@baylibre.com>
1 parent 101acad commit a68136f

File tree

1 file changed

+0
-15
lines changed

1 file changed

+0
-15
lines changed

include/linux/pwm.h

Lines changed: 0 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -148,21 +148,6 @@ static inline u64 pwm_get_duty_cycle(const struct pwm_device *pwm)
148148
return state.duty_cycle;
149149
}
150150

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-
166151
static inline enum pwm_polarity pwm_get_polarity(const struct pwm_device *pwm)
167152
{
168153
struct pwm_state state;

0 commit comments

Comments
 (0)