test/dm: clk: Add clk_get_by_index[_nodev] test
authorJagan Teki <jagan@amarulasolutions.com>
Tue, 5 Mar 2019 14:12:44 +0000 (19:42 +0530)
committerJagan Teki <jagan@amarulasolutions.com>
Wed, 8 May 2019 19:14:13 +0000 (00:44 +0530)
commitd7a672e35f4788f95cee36797f7cf80474fd151b
tree5deb7a338adc5b86f59d31ff5f814589e412be03
parentdcb63fcd16c579378e68ab34849b47dda45f41b2
test/dm: clk: Add clk_get_by_index[_nodev] test

Add sample dm clk test for clk_get_by_index and
clk_get_by_index_nodev functionality code.

Cc: Stephen Warren <swarren@nvidia.com>
Signed-off-by: Jagan Teki <jagan@amarulasolutions.com>
Reviewed-by: Simon Glass <sjg@chromium.org>
test/dm/clk.c