driver: clock_controller: return values of clock_control apis directly.

return values of clock_control_on()/clock_control_get_rate() directly in
case overwriting error codes.

Signed-off-by: Mulin Chao <MLChao@nuvoton.com>
This commit is contained in:
Mulin Chao 2020-10-14 11:47:20 +08:00 committed by Anas Nashif
commit 507f31472c
7 changed files with 57 additions and 35 deletions

View file

@ -27,6 +27,6 @@
#define NPCX_PWDWN_CTL6 5
#define NPCX_PWDWN_CTL7 6
#define NPCX_PWDWN_CTL8 7
#define NPCX_PWDWN_CTL_NONE 8
#define NPCX_PWDWN_CTL_COUNT 8
#endif /* ZEPHYR_INCLUDE_DT_BINDINGS_CLOCK_NPCX_CLOCK_H_ */