pwm: lpc32xx: Set the chip base for dynamic allocation
authorAlban Bedel <alban.bedel@avionic-design.de>
Wed, 14 Nov 2012 11:58:15 +0000 (12:58 +0100)
committerThierry Reding <thierry.reding@avionic-design.de>
Thu, 6 Dec 2012 07:52:13 +0000 (08:52 +0100)
commit8fc6d09dcbcdb252e8b029f2a26fe303cc4649ec
tree04aa7d587a297da3a4769cdcf7809f48ee4bd8d9
parent54b2a999a167510aa6eb54f49ef21a40946c88ba
pwm: lpc32xx: Set the chip base for dynamic allocation

Doing so allows the base to be allocated dynamically at runtime and
makes it easier for the chip to coexist with other PWM chips.

Signed-off-by: Alban Bedel <alban.bedel@avionic-design.de>
Acked-by: Alexandre Pereira da Silva <aletes.xgr@gmail.com>
Acked-by: Roland Stigge <stigge@antcom.de>
Signed-off-by: Thierry Reding <thierry.reding@avionic-design.de>
drivers/pwm/pwm-lpc32xx.c