diff options
author | Ben Chan <benchan@chromium.org> | 2017-02-23 11:45:29 -0800 |
---|---|---|
committer | Dan Williams <dcbw@redhat.com> | 2017-03-01 09:30:07 -0600 |
commit | f10065d03c3b9e8543244f1f35e71044795a8a2c (patch) | |
tree | 0ae157b1c23a266f652b7cd1c46253acbf083ba1 /docs/reference | |
parent | 66b3367cf87e636f49f1e89c3f7645c7826d5eb2 (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')
0 files changed, 0 insertions, 0 deletions