summaryrefslogtreecommitdiffstats
path: root/drivers/uio/uio_pci_generic.c
diff options
context:
space:
mode:
authorPatrick Pannuto <ppannuto@codeaurora.org>2010-08-06 17:12:41 -0700
committerGreg Kroah-Hartman <gregkh@suse.de>2010-10-22 10:16:42 -0700
commitd79d32440c33cf60f1e0efbeb8144b1647be0b50 (patch)
tree31b9ff92f2f0c9c50e21427ac7d69185b6789f0f /drivers/uio/uio_pci_generic.c
parent6a5c083de2f5fbf89a4b0a251be2c2205434d7ea (diff)
downloadop-kernel-dev-d79d32440c33cf60f1e0efbeb8144b1647be0b50.zip
op-kernel-dev-d79d32440c33cf60f1e0efbeb8144b1647be0b50.tar.gz
driver core: platform: Use drv->driver.bus instead of assuming platform_bus_type
In theory (although not *yet* in practice), a driver being passed to platform_driver_probe might have driver.bus set to something other than platform_bus_type. Locking drv->driver.bus is always correct. Signed-off-by: Patrick Pannuto <ppannuto@codeaurora.org> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers/uio/uio_pci_generic.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud