clk: socfpga: Remove check for "reg" property in socfpga_clk_init
authorDinh Nguyen <dinguyen@altera.com>
Thu, 24 Oct 2013 08:18:30 +0000 (03:18 -0500)
committerMike Turquette <mturquette@linaro.org>
Wed, 27 Nov 2013 20:48:51 +0000 (12:48 -0800)
commit4d04391cfe6446fb2f184d063b56a4dcce425334
tree078732b400a508899f4f8c63c4709047bed2220a
parentf881591dd4d522b44722eb6b78c6a01a9c1bbd7c
clk: socfpga: Remove check for "reg" property in socfpga_clk_init

The function socfpga_clk_init() can support clocks that do not have a divider
register, but a fixed-divider that can be read from DTS. Therefore, the "reg"
property is not a failing condition for socfpga_clk_init().

Signed-off-by: Dinh Nguyen <dinguyen@altera.com>
Signed-off-by: Mike Turquette <mturquette@linaro.org>
drivers/clk/socfpga/clk.c