summaryrefslogtreecommitdiffstats
path: root/fs/fhandle.c
diff options
context:
space:
mode:
authorRajendra Nayak <rnayak@ti.com>2012-03-26 19:01:48 +0530
committerMike Turquette <mturquette@linaro.org>2012-04-24 16:37:39 -0700
commit34e44fe87437b6a5aad856f15f7a849e5fc137aa (patch)
tree73b599e531184469cc3478033b82610afbe951f1 /fs/fhandle.c
parentbffad66e31fe9d94cd096f2e4de7c683e1ae32ef (diff)
downloadlinux-34e44fe87437b6a5aad856f15f7a849e5fc137aa.tar.bz2
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>
Diffstat (limited to 'fs/fhandle.c')
0 files changed, 0 insertions, 0 deletions