summaryrefslogtreecommitdiff
path: root/drivers/i2c/muxes/i2c-mux-pca954x.c
diff options
context:
space:
mode:
authorJarkko Nikula <jarkko.nikula@linux.intel.com>2015-02-13 15:52:25 +0200
committerWolfram Sang <wsa@the-dreams.de>2015-03-09 10:51:59 +0100
commitfef220da43d8537ed7d11da4db17b958cd779887 (patch)
tree191ab2edcc6ee6eabedbdd1cc0ca7e3d34b8ad6c /drivers/i2c/muxes/i2c-mux-pca954x.c
parentf85da3f5de6f354bc26eb84c013b41a8b8558c5e (diff)
i2c: i801: Use managed pcim_* PCI device initialization and reservation
Simplifies the code a bit and makes easier to disable PCI device on driver detach by removing the pcim_pin_device() call in the future if needed. Reason why i2c-i801.c doesn't ever call pci_disable_device() was because it made some systems to hang during power-off. See commit d6fcb3b9cf77 ("[PATCH] i2c-i801.c: don't pci_disable_device() after it was just enabled") and http://marc.info/?l=linux-kernel&m=115160053309535&w=2 Signed-off-by: Jarkko Nikula <jarkko.nikula@linux.intel.com> Reviewed-by: Jean Delvare <jdelvare@suse.de> Signed-off-by: Wolfram Sang <wsa@the-dreams.de>
Diffstat (limited to 'drivers/i2c/muxes/i2c-mux-pca954x.c')
0 files changed, 0 insertions, 0 deletions