linux/drivers/thunderbolt
Mika Westerberg c9843ebbb8 thunderbolt: Allow passing NULL to tb_ctl_free()
Following the usual pattern used in many places, we allow passing NULL
pointer to tb_ctl_free(). Then the user can call the function regardless
if it has allocated control channel or not making the code bit simpler.

Suggested-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Signed-off-by: Mika Westerberg <mika.westerberg@linux.intel.com>
Signed-off-by: Andreas Noever <andreas.noever@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2017-06-09 11:42:41 +02:00
..
cap.c thunderbolt: Rework capability handling 2017-06-09 11:42:41 +02:00
ctl.c thunderbolt: Allow passing NULL to tb_ctl_free() 2017-06-09 11:42:41 +02:00
ctl.h thunderbolt: Use const buffer pointer in write operations 2017-06-09 11:42:40 +02:00
eeprom.c thunderbolt: Do not warn about newer DROM versions 2017-06-09 11:42:41 +02:00
Kconfig thunderbolt: Compile on x86 only 2016-11-18 09:42:59 +01:00
Makefile thunderbolt: Read switch uid from EEPROM 2014-06-19 14:13:00 -07:00
nhi_regs.h thunderbolt: Add MSI-X support 2017-06-09 11:42:41 +02:00
nhi.c thunderbolt: Add MSI-X support 2017-06-09 11:42:41 +02:00
nhi.h thunderbolt: Add MSI-X support 2017-06-09 11:42:41 +02:00
path.c thunderbolt: Clear hops before overwriting 2014-08-26 14:54:48 -07:00
switch.c thunderbolt: Rework capability handling 2017-06-09 11:42:41 +02:00
tb_regs.h thunderbolt: Rework capability handling 2017-06-09 11:42:41 +02:00
tb.c thunderbolt: Rework capability handling 2017-06-09 11:42:41 +02:00
tb.h thunderbolt: Rework capability handling 2017-06-09 11:42:41 +02:00
tunnel_pci.c thunderbolt: Rework capability handling 2017-06-09 11:42:41 +02:00
tunnel_pci.h thunderbolt: Add support for simple pci tunnels 2014-06-19 14:07:47 -07:00