1
0
Fork 0
alistair23-linux/drivers/staging/rts5208
Amitoj Kaur Chawla 80f10bcc7f staging: rts5208: Replace pci_enable_device with pcim_enable_device
Devm_ functions allocate memory that is automatically freed when
a driver detaches.

Replace pci_enable_device with pcim_enable_device. Remove unnecessary
pci_disable_device and pci_release_regions from probe and remove
functions in rts5208 driver since pcim_enable_device contains a call
to pcim_release which contains calls to both pci_disable_device and
pci_release_regions.

Signed-off-by: Amitoj Kaur Chawla <amitoj1606@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2016-03-11 22:09:09 -08:00
..
Kconfig Staging: rts5208: Remove CONFIG_RTS5208_DEBUG option 2014-08-16 12:23:13 -07:00
Makefile staging: rts5208: Remove TRACE_RET and TRACE_GOTO macros 2015-03-26 13:16:19 +01:00
TODO
general.c staging: rts5208: add new line after declarations 2014-09-23 13:22:25 -07:00
general.h
ms.c staging: rts5208: Change form of NULL comparisons 2016-03-11 22:09:09 -08:00
ms.h staging: rts5208: Convert variable from int to bool and propagate the change to function parameters 2015-03-06 17:25:01 -08:00
rtsx.c staging: rts5208: Replace pci_enable_device with pcim_enable_device 2016-03-11 22:09:09 -08:00
rtsx.h staging: rts5208: Use common pci_get_bus_and_slot() instead of private one 2015-06-08 13:38:56 -07:00
rtsx_card.c staging: rts5208: Remove RTSX_READ_REG and RTSX_WRITE_REG macros 2015-03-26 13:17:05 +01:00
rtsx_card.h staging: rts5208: Remove RTSX_READ_REG and RTSX_WRITE_REG macros 2015-03-26 13:17:05 +01:00
rtsx_chip.c Staging: rts5208: Coding style warnings fix for block comments 2015-09-21 09:56:50 -07:00
rtsx_chip.h staging: rts5208: Remove RTSX_READ_REG and RTSX_WRITE_REG macros 2015-03-26 13:17:05 +01:00
rtsx_scsi.c staging: rts5208: simplify NULL tests 2016-03-11 22:09:09 -08:00
rtsx_scsi.h
rtsx_sys.h
rtsx_transport.c staging: rts5208: rtsx_transport.c: Drop void pointer cast 2016-03-11 22:09:09 -08:00
rtsx_transport.h staging, rts5208, LLVMLinux: Change extern inline to static inline 2014-10-29 16:28:17 -07:00
sd.c staging: rts5208: simplify NULL tests 2016-03-11 22:09:09 -08:00
sd.h staging: rts5208: Convert variable from int to bool and propagate the change to function parameters 2015-03-06 17:25:01 -08:00
spi.c staging: rts5208: simplify NULL tests 2016-03-11 22:09:09 -08:00
spi.h
trace.c staging: rts5208: Remove TRACE_RET and TRACE_GOTO macros 2015-03-26 13:16:19 +01:00
trace.h staging: rts5208: Remove TRACE_RET and TRACE_GOTO macros 2015-03-26 13:16:19 +01:00
xd.c staging: rts5208: Remove NULL test before vfree 2016-03-11 22:09:09 -08:00
xd.h