i2c/spi: match of_modaliases
i2c/spi devices in the devicetree often come with a "vendor,device"
comaptible string. These do not match in barebox, so add a
device_match_of_modalias function which does exactly that.

Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
1 parent 4f2f915 commit 394edf6377ca604402293d74b31694b171923945
@Sascha Hauer Sascha Hauer authored on 7 Feb 2014
Showing 4 changed files
View
drivers/base/bus.c
View
drivers/i2c/i2c.c
View
drivers/spi/spi.c
View
include/driver.h