9
0
Fork 0
barebox/drivers
Uwe Kleine-König 17f77702e5 eeprom: at24: make device name setup more robust
With two eeproms that have a different compatible string (in my case
"at,24c64" and "at,24c32") dev->id is 0 for both which results in a
failure to bind the device that is probed later.

So pick a name more intelligently: If there is an alias defined in the
device tree, use this one, otherwise pick a free index.

Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2016-05-31 08:57:46 +02:00
..
amba amba: check if on remove callback 2015-10-27 16:45:51 +01:00
ata Merge branch 'for-next/misc' 2016-05-09 08:49:43 +02:00
base driver: Introduce dev_request_mem_resource 2016-02-23 08:15:57 +01:00
bus mtd: nand: omap_gpmc: Remove BCH4 support 2016-04-12 08:16:03 +02:00
clk driver: replace dev_request_mem_region with dev_request_mem_resource 2016-03-07 08:57:56 +01:00
clocksource driver: replace dev_request_mem_region with dev_request_mem_resource 2016-03-07 08:57:56 +01:00
crypto crypto: add i.MX6 CAAM support 2016-02-12 15:55:55 +01:00
dma driver: replace dev_request_mem_region with dev_request_mem_resource 2016-03-07 08:57:56 +01:00
eeprom eeprom: at24: make device name setup more robust 2016-05-31 08:57:46 +02:00
firmware driver: replace dev_request_mem_region with dev_request_mem_resource 2016-03-07 08:57:56 +01:00
gpio Merge branch 'for-next/misc' 2016-03-11 10:49:50 +01:00
hab i.MX habv3: add some more status codes 2016-02-09 09:17:37 +01:00
i2c driver: replace dev_request_mem_region with dev_request_mem_resource 2016-03-07 08:57:56 +01:00
input Merge branch 'for-next/input' 2016-03-11 10:49:49 +01:00
led led: gpio: Free GPIOs on unregister() 2015-04-20 07:00:21 +02:00
mci Merge branch 'for-next/misc' 2016-05-09 08:49:43 +02:00
mfd string: Fix (v)asprintf prototypes 2016-04-15 12:21:45 +02:00
misc Merge branch 'for-next/misc' 2016-05-09 08:49:43 +02:00
mtd Merge branch 'for-next/mtd' 2016-05-09 08:49:43 +02:00
net net: phy: micrel: KSZ9081/KSZ8091: Disable broadcast mode 2016-05-13 12:06:33 +02:00
of of: base: Match simple-mfd devices 2016-05-23 12:21:03 +02:00
pci Merge branch 'for-next/pci' 2016-05-09 08:49:50 +02:00
phy add generic PHY framework 2014-11-04 09:50:44 +01:00
pinctrl Merge branch 'for-next/misc' 2016-05-09 08:49:43 +02:00
pwm string: Fix (v)asprintf prototypes 2016-04-15 12:21:45 +02:00
regulator string: Fix (v)asprintf prototypes 2016-04-15 12:21:45 +02:00
reset reset: fix non GPIO reset 2016-01-11 11:26:12 +01:00
rtc rtc: ds1307: Add support for configuring external clock pin 2016-05-30 07:12:19 +02:00
serial Merge branch 'for-next/include-pdata' 2016-05-09 08:49:42 +02:00
spi Merge branch 'for-next/misc' 2016-05-09 08:49:43 +02:00
usb Merge branch 'for-next/ubiformat' 2016-05-09 08:50:02 +02:00
video string: Fix (v)asprintf prototypes 2016-04-15 12:21:45 +02:00
w1 string: Fix (v)asprintf prototypes 2016-04-15 12:21:45 +02:00
watchdog driver: replace dev_request_mem_region with dev_request_mem_resource 2016-03-07 08:57:56 +01:00
Kconfig crypto: add i.MX6 CAAM support 2016-02-12 15:55:55 +01:00
Makefile crypto: add i.MX6 CAAM support 2016-02-12 15:55:55 +01:00