summaryrefslogtreecommitdiffstats
path: root/net/llc/Kconfig
diff options
context:
space:
mode:
authorAxel Lin <axel.lin@ingics.com>2015-02-24 19:52:47 +0800
committerKishon Vijay Abraham I <kishon@ti.com>2015-03-04 18:31:47 +0530
commit21647f73835efdd0cc71b899668a8848ad9bd8cf (patch)
tree26dc6c5a649bd4355e6d22d5b7108b44aae6645a /net/llc/Kconfig
parentc517d838eb7d07bbe9507871fab3931deccff539 (diff)
downloadtalos-op-linux-21647f73835efdd0cc71b899668a8848ad9bd8cf.tar.gz
talos-op-linux-21647f73835efdd0cc71b899668a8848ad9bd8cf.zip
phy: miphy28lp: Avoid calling of_get_child_count() multiple times
Currently, of_get_child_count() is called in each iteration of the for loop in miphy28lp_xlate(). This patch stores the return value of of_get_child_count() in miphy_dev->nphys and call of_get_child_count() once in miphy28lp_probe(). Signed-off-by: Axel Lin <axel.lin@ingics.com> Signed-off-by: Kishon Vijay Abraham I <kishon@ti.com>
Diffstat (limited to 'net/llc/Kconfig')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud