]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit93bee167de70ec5124c47b7e0a2a7f4272e7dd06
tree7a1b0bbca8ea8d91baf78958b4a9ccfebc3a6850
parent300364ed6fe964c51a36ae6092b509b75d00be22
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