delay_timer: correct sparse issues and warnings
authorEtienne Carriere <etienne.carriere@st.com>
Wed, 7 Jun 2017 14:42:26 +0000 (16:42 +0200)
committerEtienne Carriere <etienne.carriere@st.com>
Fri, 23 Jun 2017 07:38:08 +0000 (09:38 +0200)
commit1496b4895e4f5eb921716103bef13329aab7d92e
tree086a11dfaaa54f60f57e25ff6abc97a8bb39f460
parentc04d59cf379c679b2272d669ac0b337e407470a8
delay_timer: correct sparse issues and warnings

Use NULL instead of 0 where required.
Include headers to have the prototype of the functions.

Signed-off-by: Yann Gautier <yann.gautier@st.com>
Signed-off-by: Etienne Carriere <etienne.carriere@st.com>
drivers/delay_timer/delay_timer.c
drivers/delay_timer/generic_delay_timer.c