aboutsummaryrefslogtreecommitdiff
path: root/docs/reference/api/ModemManager-docs.xml
diff options
context:
space:
mode:
authorBen Chan <benchan@chromium.org>2017-02-23 11:45:29 -0800
committerDan Williams <dcbw@redhat.com>2017-03-01 09:30:07 -0600
commitf10065d03c3b9e8543244f1f35e71044795a8a2c (patch)
tree0ae157b1c23a266f652b7cd1c46253acbf083ba1 /docs/reference/api/ModemManager-docs.xml
parent66b3367cf87e636f49f1e89c3f7645c7826d5eb2 (diff)
kernel-device: simplify handling of platform/pci/pnp/sdio parent
This patch simplifies the handling of platform/pci/pnp/sdio device in find_physical_gudevdevice(). When the code finds the first parent device under the subsystem 'platform', 'pci', 'pnp', or 'sdio', it stops traversing up the device tree, so there is no need to keep track of whether a platform / pci / pnp / sdio device has previously been visited via those is_platform/is_pci/is_pnp/is_sdio Boolean variables.
Diffstat (limited to 'docs/reference/api/ModemManager-docs.xml')
0 files changed, 0 insertions, 0 deletions