diff options
author | Rob Herring <robh@kernel.org> | 2021-12-15 16:55:09 -0600 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2021-12-17 16:51:31 +0100 |
commit | 2dec70f18b914a3108ab656417c4a0b77fdea2cf (patch) | |
tree | ebcd83162ee63f5b043ca70653c89b4f439b25b4 /Kconfig | |
parent | d6bfc848af12b32591e59aff58d5bfbd00d80b0c (diff) | |
download | lwn-2dec70f18b914a3108ab656417c4a0b77fdea2cf.tar.gz lwn-2dec70f18b914a3108ab656417c4a0b77fdea2cf.zip |
usb: ohci-spear: Remove direct access to platform_device resource list
The memory resource is already retrieved with platform_get_resource(), so
let's use it instead of assuming it is the first resource in the array.
Acked-by: Alan Stern <stern@rowland.harvard.edu>
Signed-off-by: Rob Herring <robh@kernel.org>
Link: https://lore.kernel.org/r/20211215225509.1995417-1-robh@kernel.org
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'Kconfig')
0 files changed, 0 insertions, 0 deletions