test/dm: clk: Add clk_get_by_index[_nodev] test
authorJagan Teki <[email protected]>
Tue, 5 Mar 2019 14:12:44 +0000 (19:42 +0530)
committerJagan Teki <[email protected]>
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 <[email protected]>
Signed-off-by: Jagan Teki <[email protected]>
Reviewed-by: Simon Glass <[email protected]>
test/dm/clk.c