1
0
Fork 0
remarkable-linux/drivers/clk
Rajendra Nayak 34e44fe874 clk: Make clk_get_rate() return 0 on error
Most users of clk_get_rate() actually assume a non zero
return value as a valid rate returned. Returing -EINVAL
might confuse such users, so make it instead return zero
on error.

Besides the return value of clk_get_rate seems to be
'unsigned long'.

Signed-off-by: Rajendra nayak <rnayak@ti.com>
Signed-off-by: Mike Turquette <mturquette@linaro.org>
2012-04-24 16:37:39 -07:00
..
Kconfig clk: make CONFIG_COMMON_CLK invisible 2012-03-19 09:37:11 +00:00
Makefile clk: basic clock hardware types 2012-03-16 20:35:02 +00:00
clk-divider.c clk: add "const" for clk_ops of basic clks 2012-04-24 16:37:38 -07:00
clk-fixed-rate.c clk: add "const" for clk_ops of basic clks 2012-04-24 16:37:38 -07:00
clk-gate.c clk: add "const" for clk_ops of basic clks 2012-04-24 16:37:38 -07:00
clk-mux.c clk: add "const" for clk_ops of basic clks 2012-04-24 16:37:38 -07:00
clk.c clk: Make clk_get_rate() return 0 on error 2012-04-24 16:37:39 -07:00
clkdev.c CLKDEV: Fix clkdev return value for NULL clk case 2011-04-30 10:14:08 +01:00