clk: max77686: Convert to the generic max clock driver
authorJavier Martinez Canillas <javier.martinez@collabora.co.uk>
Mon, 18 Aug 2014 08:33:01 +0000 (10:33 +0200)
committerMike Turquette <mturquette@linaro.org>
Tue, 9 Sep 2014 20:55:49 +0000 (13:55 -0700)
commit1887d69308f94eec12d581b4dbab67c28274039d
tree0846001dbdb969832735b2d1d4395d200b8c36f9
parent5dbbb00f712edff8454f9741db61f9e0a4fec919
clk: max77686: Convert to the generic max clock driver

Clocks drivers for Maxim PMIC are very similar so they can
be converted to use the generic Maxim clock driver.

Also, while being there use module_platform_driver() helper
macro to eliminate more boilerplate code.

Signed-off-by: Javier Martinez Canillas <javier.martinez@collabora.co.uk>
Reviewed-by: Krzysztof Kozlowski <k.kozlowski@samsung.com>
Signed-off-by: Mike Turquette <mturquette@linaro.org>
drivers/clk/Kconfig
drivers/clk/clk-max77686.c