diff options
author | Axel Lin <axel.lin@ingics.com> | 2015-02-24 12:53:45 +0100 |
---|---|---|
committer | Kishon Vijay Abraham I <kishon@ti.com> | 2015-03-04 14:01:47 +0100 |
commit | 5bd568f5d2c95dbfeda4425c0d355093e29ae7f2 (patch) | |
tree | 1855d7b75b4234c4029f9ecd4f3b88018cc0fea1 /drivers/phy/phy-armada375-usb2.c | |
parent | phy: miphy28lp: Avoid calling of_get_child_count() multiple times (diff) | |
download | linux-5bd568f5d2c95dbfeda4425c0d355093e29ae7f2.tar.xz linux-5bd568f5d2c95dbfeda4425c0d355093e29ae7f2.zip |
phy: miphy365x: Avoid calling of_get_child_count() multiple times
Currently, of_get_child_count() is called in each iteration of the for loop in
miphy365x_xlate(). This patch stores the return value of of_get_child_count()
in miphy_dev->nphys and call of_get_child_count() once in miphy365x_probe().
Signed-off-by: Axel Lin <axel.lin@ingics.com>
Signed-off-by: Kishon Vijay Abraham I <kishon@ti.com>
Diffstat (limited to 'drivers/phy/phy-armada375-usb2.c')
0 files changed, 0 insertions, 0 deletions