linux/drivers/misc/mei
Uwe Kleine-König f320ff0387 mei: bus: simplify mei_cl_device_remove()
The driver core only calls a bus' remove function when there is actually
a driver and a device. So drop the needless check and assign cldrv earlier.

(Side note: The check for cldev being non-NULL is broken anyhow, because
to_mei_cl_device() is a wrapper around container_of() for a member that is
not the first one. So cldev only can become NULL if dev is (void *)0xc
(for archs with 32 bit pointers) or (void *)0x18 (for archs with 64 bit
pointers).)

Signed-off-by: Uwe Kleine-König <uwe@kleine-koenig.org>
Link: https://lore.kernel.org/r/20210208073705.428185-2-uwe@kleine-koenig.org
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2021-02-09 09:30:16 +01:00
..
hdcp mei: hdcp: fix mei_hdcp_verify_mprime() input parameter 2020-08-18 15:39:38 +02:00
bus-fixup.c mei: bus: enable pavp device. 2020-12-07 10:29:57 +01:00
bus.c mei: bus: simplify mei_cl_device_remove() 2021-02-09 09:30:16 +01:00
client.c mei: implement client dma setup. 2021-02-06 15:48:11 +01:00
client.h mei: implement client dma setup. 2021-02-06 15:48:11 +01:00
debugfs.c mei: add support for client dma capability 2021-02-06 15:48:11 +01:00
dma-ring.c mei: adjust the copyright notice in the files. 2019-03-28 02:07:54 +09:00
hbm.c mei: implement client dma setup. 2021-02-06 15:48:11 +01:00
hbm.h mei: implement client dma setup. 2021-02-06 15:48:11 +01:00
hw-me-regs.h mei: me: add adler lake point LP DID 2021-01-29 16:59:12 +01:00
hw-me.c mei: add device kind to sysfs 2020-07-29 16:21:13 +02:00
hw-me.h mei: add device kind to sysfs 2020-07-29 16:21:13 +02:00
hw-txe-regs.h mei: adjust the copyright notice in the files. 2019-03-28 02:07:54 +09:00
hw-txe.c mei: hw: use sizeof of variable instead of struct type 2020-07-23 19:33:09 +02:00
hw-txe.h mei: adjust the copyright notice in the files. 2019-03-28 02:07:54 +09:00
hw.h mei: hbm: add client dma hbm messages 2021-02-06 15:48:11 +01:00
init.c mei: allow clients on bus to communicate in remove callback 2021-02-06 15:48:11 +01:00
interrupt.c mei: implement client dma setup. 2021-02-06 15:48:11 +01:00
Kconfig Revert "mei: virtio: virtualization frontend driver" 2020-12-06 10:36:17 +01:00
main.c mei: add connect with vtag ioctl 2020-08-18 15:44:44 +02:00
Makefile Revert "mei: virtio: virtualization frontend driver" 2020-12-06 10:36:17 +01:00
mei-trace.c mei: adjust the copyright notice in the files. 2019-03-28 02:07:54 +09:00
mei-trace.h mei: adjust the copyright notice in the files. 2019-03-28 02:07:54 +09:00
mei_dev.h mei: implement client dma setup. 2021-02-06 15:48:11 +01:00
pci-me.c mei: me: add adler lake point LP DID 2021-01-29 16:59:12 +01:00
pci-txe.c PM: sleep: core: Rename DPM_FLAG_NEVER_SKIP 2020-04-24 21:33:09 +02:00