MIPS: JZ4740: Use PWM lookup table
authorThierry Reding <thierry.reding@gmail.com>
Mon, 5 Oct 2015 11:31:17 +0000 (13:31 +0200)
committerRalf Baechle <ralf@linux-mips.org>
Mon, 26 Oct 2015 08:49:43 +0000 (09:49 +0100)
commit0503b69729f6ba83eacaf4dc97e54d55b7f1feba
treea1e9491a95ab75a8609c9deee5224f3996bf5832
parent1ee3630a3e57f38f688a6f0a5f9edbd8a0d7201f
MIPS: JZ4740: Use PWM lookup table

Associate the PWM with the pwm-beeper device using a PWM lookup table.
This will eventually allow the legacy function calls to pwm_request() to
be removed from all consumer drivers.

Signed-off-by: Thierry Reding <thierry.reding@gmail.com>
Cc: Lars-Peter Clausen <lars@metafoo.de>
Cc: linux-mips@linux-mips.org
Cc: linux-kernel@vger.kernel.org
Patchwork: https://patchwork.linux-mips.org/patch/11261/
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
arch/mips/jz4740/board-qi_lb60.c