Hi Eric,
2015-09-28 Eric Anholt eric@anholt.net:
The body of the loop is taken from the exynos driver. It appears to also be useful in msm, and I've used it in vc4.
Signed-off-by: Eric Anholt eric@anholt.net
This is separated from converting exynos to use it, to let it land separately and not have to sync between trees.
drivers/base/component.c | 40 ++++++++++++++++++++++++++++++++++++++++ include/linux/component.h | 5 +++++ 2 files changed, 45 insertions(+)
This looks good to me.
Reviewed-by: Gustavo Padovan gustavo.padovan@collabora.co.uk
Gustavo