pwm: Drop legacy wrapper for changing polarity
authorUwe Kleine-König <u.kleine-koenig@pengutronix.de>
Mon, 15 Oct 2018 08:21:52 +0000 (10:21 +0200)
committerThierry Reding <thierry.reding@gmail.com>
Wed, 12 Dec 2018 10:55:42 +0000 (11:55 +0100)
commita36b2606795800a15f6f33ee4c283ad66e1d7bfe
tree7a1b0bbca8ea8d91baf78958b4a9ccfebc3a6850
parentbf9b0b1b0b6cd51797ce79b6fa5fc2d1baa2719e
pwm: Drop legacy wrapper for changing polarity

The API to configure a PWM using pwm_enable(), pwm_disable(),
pwm_config() and pwm_set_polarity() is superseeded by atomically setting
the parameters using pwm_apply_state(). To get forward with deprecating
the former set of functions use the opportunity that there is no current
user of pwm_set_polarity() and remove it.

Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
Signed-off-by: Thierry Reding <thierry.reding@gmail.com>
include/linux/pwm.h