diff options
author | Thierry Reding <thierry.reding@avionic-design.de> | 2012-03-26 08:42:48 +0200 |
---|---|---|
committer | Thierry Reding <thierry.reding@avionic-design.de> | 2012-06-15 12:56:53 +0200 |
commit | 8138d2ddbcca2a100482dac390133f83c5a60f94 (patch) | |
tree | 814645a7608376af451f9721dd3da585a87bbdd6 /drivers/tty | |
parent | 62099abf67a20cfb98d4c031fb1925e10a78ee1b (diff) |
pwm: Add table-based lookup for static mappings
In order to get rid of the global namespace for PWM devices, this commit
provides an alternative method, similar to that of the regulator or
clock frameworks, for registering a static mapping for PWM devices. This
works by providing a table with a provider/consumer map in the board
setup code.
With the new pwm_get() and pwm_put() functions available, usage of
pwm_request() and pwm_free() becomes deprecated.
Reviewed-by: Shawn Guo <shawn.guo@linaro.org>
Reviewed-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Signed-off-by: Thierry Reding <thierry.reding@avionic-design.de>
Diffstat (limited to 'drivers/tty')
0 files changed, 0 insertions, 0 deletions