Skip to content
Commit 3f07af49 authored by Grant Likely's avatar Grant Likely
Browse files

of: adapt of_find_i2c_driver() to be usable by SPI also



SPI has a similar problem as I2C in that it needs to determine an
appropriate modalias value for each device node.  This patch adapts
the of_i2c of_find_i2c_driver() function to be usable by of_spi also.

Signed-off-by: default avatarGrant Likely <grant.likely@secretlab.ca>
parent 5047887c
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment