[PATCH] hrtimer: consolidate hrtimer_init() + hrtimer_init_sleeper() calls

2018-07-02 Thread Anna-Maria Gleixner
From: Sebastian Andrzej Siewior hrtimer_init_sleeper() calls require a prior initialisation of the hrtimer object with hrtimer_init(). Lets make the initialisation of the hrtimer object part of hrtimer_init_sleeper(). To remain consistent consider init_on_stack as well. Beside adapting the hrtim

[RFC / PATCH] hrtimer: consolidate hrtimer_init() + hrtimer_init_sleeper() calls

2017-09-05 Thread Sebastian Andrzej Siewior
hrtimer_init_sleeper() calls require a prior initialisation of the hrtimer object with hrtimer_init(). Lets make the initialisation of the hrtimer object part of hrtimer_init_sleeper(). This converts all users in one go. Everyone is using the on-stack version. Signed-off-by: Sebastian Andrzej Siew