linux/drivers/i2c/busses
Grant Likely b1608d69cb drivercore: revert addition of of_match to struct device
Commit b826291c, "drivercore/dt: add a match table pointer to struct
device" added an of_match pointer to struct device to cache the
of_match_table entry discovered at driver match time.  This was unsafe
because matching is not an atomic operation with probing a driver.  If
two or more drivers are attempted to be matched to a driver at the
same time, then the cached matching entry pointer could get
overwritten.

This patch reverts the of_match cache pointer and reworks all users to
call of_match_device() directly instead.

Signed-off-by: Grant Likely <grant.likely@secretlab.ca>
2011-05-18 12:32:23 -06:00
..
Kconfig Merge branch 'for-linus/2639/i2c-2' of git://git.fluff.org/bjdooks/linux 2011-03-22 10:05:27 -07:00
Makefile Merge branches 'for-2639/i2c/i2c-ce4100-v6', 'for-2639/i2c/i2c-eg20t-v3' and 'for-2639/i2c/i2c-imx' into for-linus/2639/i2c-2 2011-03-21 22:57:25 +00:00
i2c-acorn.c
i2c-ali15x3.c Fix common misspellings 2011-03-31 11:26:23 -03:00
i2c-ali1535.c Fix common misspellings 2011-03-31 11:26:23 -03:00
i2c-ali1563.c
i2c-amd756-s4882.c
i2c-amd756.c
i2c-amd8111.c
i2c-at91.c
i2c-au1550.c
i2c-bfin-twi.c i2c-bfin-twi: move setup to the earlier subsys initcall 2011-01-12 22:23:08 +00:00
i2c-cpm.c dt: Eliminate of_platform_{,un}register_driver 2011-02-28 13:22:46 -07:00
i2c-davinci.c Fix common misspellings 2011-03-31 11:26:23 -03:00
i2c-designware.c Fix common misspellings 2011-03-31 11:26:23 -03:00
i2c-diolan-u2c.c i2c/busses: Add support for Diolan U2C-12 USB-I2C adapter 2011-01-27 00:39:30 +00:00
i2c-eg20t.c Merge branches 'for-2639/i2c/i2c-ce4100-v6', 'for-2639/i2c/i2c-eg20t-v3' and 'for-2639/i2c/i2c-imx' into for-linus/2639/i2c-2 2011-03-21 22:57:25 +00:00
i2c-elektor.c Fix common misspellings 2011-03-31 11:26:23 -03:00
i2c-gpio.c
i2c-highlander.c
i2c-hydra.c
i2c-i801.c i2c-i801: Move device ID definitions to driver 2011-05-01 18:18:49 +02:00
i2c-ibm_iic.c Fix common misspellings 2011-03-31 11:26:23 -03:00
i2c-ibm_iic.h
i2c-imx.c
i2c-intel-mid.c Fix common misspellings 2011-03-31 11:26:23 -03:00
i2c-iop3xx.c
i2c-iop3xx.h
i2c-isch.c Fix common misspellings 2011-03-31 11:26:23 -03:00
i2c-ixp2000.c
i2c-mpc.c drivercore: revert addition of of_match to struct device 2011-05-18 12:32:23 -06:00
i2c-mv64xxx.c
i2c-mxs.c Fix common misspellings 2011-03-31 11:26:23 -03:00
i2c-nforce2-s4985.c
i2c-nforce2.c
i2c-nomadik.c Fix common misspellings 2011-03-31 11:26:23 -03:00
i2c-nuc900.c
i2c-ocores.c mfd: mfd_cell is now implicitly available to timberdale drivers 2011-03-23 10:41:52 +01:00
i2c-octeon.c
i2c-omap.c i2c-omap: Program I2C_WE on OMAP4 to enable i2c wakeup 2011-03-07 09:53:38 +00:00
i2c-parport-light.c
i2c-parport.c i2c-parport: Fix adapter list handling 2011-05-01 18:18:49 +02:00
i2c-parport.h
i2c-pasemi.c
i2c-pca-isa.c
i2c-pca-platform.c
i2c-piix4.c
i2c-pmcmsp.c
i2c-pnx.c i2c: pnx: Fix crash due to wrong init of timer->data 2011-05-13 00:10:36 +01:00
i2c-powermac.c
i2c-puv3.c unicore32 machine related files: add i2c bus drivers for pkunity-v3 soc 2011-03-17 09:19:20 +08:00
i2c-pxa-pci.c i2c-pxa2xx: Add PCI support for PXA I2C controller 2011-03-21 09:18:54 +00:00
i2c-pxa.c i2c-pxa2xx: Don't clear isr bits too early 2011-03-21 23:00:12 +00:00
i2c-s3c2410.c
i2c-s6000.c Fix common misspellings 2011-03-31 11:26:23 -03:00
i2c-s6000.h
i2c-scmi.c
i2c-sh7760.c
i2c-sh_mobile.c
i2c-sibyte.c
i2c-simtec.c
i2c-sis96x.c
i2c-sis630.c
i2c-sis5595.c
i2c-stu300.c Fix common misspellings 2011-03-31 11:26:23 -03:00
i2c-stub.c
i2c-taos-evm.c
i2c-tegra.c Fix common misspellings 2011-03-31 11:26:23 -03:00
i2c-tiny-usb.c
i2c-versatile.c
i2c-via.c
i2c-viapro.c
i2c-xiic.c Fix common misspellings 2011-03-31 11:26:23 -03:00
scx200_acb.c i2c: Convert SCx200 driver from using raw PCI to platform device 2011-01-14 12:38:15 +01:00
scx200_i2c.c