]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
tty: atmel_serial: prepare clk before calling enable
authorBoris BREZILLON <b.brezillon@overkiz.com>
Wed, 19 Jun 2013 11:17:30 +0000 (13:17 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 24 Jun 2013 23:35:03 +0000 (16:35 -0700)
commit91f8c2d805f5c5fd82bf8655065148b2e16967ff
treeb7c7f6904e42ab4e3b64f056eec9fdd4faf164cc
parent805bf3daf361a501594f8b27b394a8d7372ebe3c
tty: atmel_serial: prepare clk before calling enable

Replace clk_enable/disable with clk_prepare_enable/disable_unprepare to
avoid common clk framework warnings.

Signed-off-by: Boris BREZILLON <b.brezillon@overkiz.com>
Acked-by: Nicolas Ferre <nicolas.ferre@atmel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/tty/serial/atmel_serial.c