ARM: davinci: clock: Correct return values for API functions
authorPeter Ujfalusi <peter.ujfalusi@ti.com>
Mon, 14 Sep 2015 09:29:39 +0000 (12:29 +0300)
committerSekhar Nori <nsekhar@ti.com>
Wed, 7 Oct 2015 11:11:29 +0000 (16:41 +0530)
commitf6c1a8a6ce19d30c235ef0fa285d5110aafaefe2
tree0c548343a344607af8fd1788be14f11bd0901987
parentd1a31e975738c215f450f3d7c15d5fb96942a866
ARM: davinci: clock: Correct return values for API functions

Fix the values returned by the publicly used functions.
These function should return 0 when they are called with clk == NULL in
similar manner as the clock API does to avoid different behavior in drivers
used by daVinci and other architectures.

Signed-off-by: Peter Ujfalusi <peter.ujfalusi@ti.com>
Signed-off-by: Sekhar Nori <nsekhar@ti.com>
arch/arm/mach-davinci/clock.c