serial: max310x: Migrate to CLK API
authorAlexander Shiyan <shc_work@mail.ru>
Mon, 10 Feb 2014 18:18:31 +0000 (22:18 +0400)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 13 Feb 2014 17:34:47 +0000 (09:34 -0800)
commitd3a8a252e177cfaa2fb04120dd944104e4417bf5
tree45e15948a0d521d7e2117c840adb173f4ef6d190
parent27027a70e21f62d143da142d66e508e70fc311b7
serial: max310x: Migrate to CLK API

This patch removes "frequency" parameter from MAX310X platform_data
and uses CLK API for getting clock. Clock type (XTAL/OSC) is
determined by clk name.

Signed-off-by: Alexander Shiyan <shc_work@mail.ru>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/tty/serial/max310x.c
include/linux/platform_data/max310x.h