poller: Allow to call functions asynchronously
Sometimes execution of a function has to be delayed, for example
when a backlight can only be turned on when the picture has stabilized.
To help in such situations add a convenience function around the poller
stuff to call a function after a delay.

Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
1 parent 8fc3a93 commit 3c46c02c5423fe8799f5ebcd2a07cf995b620a48
@Sascha Hauer Sascha Hauer authored on 12 Dec 2013
Showing 2 changed files
View
common/poller.c
View
include/poller.h