commit | 8a6389a515f406a89a1a69c267fbc712cdd9e8e9 | [log] [tgz] |
---|---|---|
author | Grygorii Strashko <grygorii.strashko@ti.com> | Thu Jun 06 19:30:39 2019 +0300 |
committer | David S. Miller <davem@davemloft.net> | Sun Jun 09 12:53:06 2019 -0700 |
tree | fa2abb33f6d71abf0c890eef20b26b990ccd9e8e | |
parent | 12775af50549121ade8efbdcf3612b867188ea0b [diff] |
net: ethernet: ti: cpts: use devm_get_clk_from_child Use devm_get_clk_from_child() instead of devm_clk_get() and this way allow to group CPTS DT properties in sub-node for better code readability and maintenance. Roll-back to devm_clk_get() if devm_get_clk_from_child() fails for backward compatibility. Signed-off-by: Grygorii Strashko <grygorii.strashko@ti.com> Acked-by: Richard Cochran <richardcochran@gmail.com> Signed-off-by: David S. Miller <davem@davemloft.net>