Files
u-boot/drivers
Philipp Tomsich 95f9a7e595 clk: refactor clk_get_by_index() into clk_get_by_indexed_prop()
The logic in clk_get_by_index() may be useful for other properties
than 'clocks': e.g. 'assigned-clocks' and 'assigned-clock-parents'
follows the same model.

This commit refactors clk_get_by_index() by introducing an internal
function clk_get_by_indexed_prop() that allows to specify the name
of the property to process.  The original clk_get_by_index() call
is simply directed through this helper function with the property
name fixed to "clocks".

Signed-off-by: Philipp Tomsich <philipp.tomsich@theobroma-systems.com>
Tested-by: David Wu <david.wu@rock-chips.com>

Series-changes: 2
- Fixed David's email address.
2018-01-28 17:12:35 +01:00
..
2018-01-22 23:09:14 +01:00
2018-01-24 11:28:44 -05:00
2018-01-26 12:38:13 +01:00
2018-01-26 20:02:33 +05:30
2018-01-16 06:59:39 +01:00
2018-01-26 07:46:34 -05:00
2017-11-06 09:51:01 -05:00
2018-01-26 12:38:13 +01:00
2017-11-20 09:58:31 +01:00
2017-06-01 07:03:10 -06:00
2018-01-26 07:46:34 -05:00
2018-01-27 14:48:52 -05:00