android_kernel_xiaomi_sm8350/drivers/base
Greg Kroah-Hartman 74e9f5fa15 Driver core: remove unneeded completion from driver release path
The completion in the driver release path is due to ancient history in
the _very_ early 2.5 days when we were not tracking the module reference
count of attributes.  It is not needed at all and can be removed.

Note, we now have an empty release function for the driver structure.
This is due to the fact that drivers are statically allocated in the
system at this point in time, something which I want to change in the
future.  But remember, drivers are really code, which is reference
counted by the module, unlike devices, which are data and _must_ be
reference counted properly in order to work correctly.


Cc: Kay Sievers <kay.sievers@vrfy.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
2007-04-27 10:57:29 -07:00
..
power [PATCH] PM: use kobject_name() to access kobject names 2007-04-11 15:39:39 -07:00
attribute_container.c
base.h driver core: don't fail attaching the device if it cannot be bound 2007-04-27 10:57:29 -07:00
bus.c Driver core: remove unneeded completion from driver release path 2007-04-27 10:57:29 -07:00
class.c driver core: fix namespace issue with devices assigned to classes 2007-04-27 10:57:28 -07:00
core.c driver core: don't fail attaching the device if it cannot be bound 2007-04-27 10:57:29 -07:00
cpu.c Replace remaining references to "driverfs" with "sysfs". 2007-02-17 19:13:42 +01:00
dd.c driver core: don't fail attaching the device if it cannot be bound 2007-04-27 10:57:29 -07:00
devres.c devres: device resource management 2007-02-09 17:39:36 -05:00
dma-mapping.c devres: device resource management 2007-02-09 17:39:36 -05:00
dmapool.c devres: device resource management 2007-02-09 17:39:36 -05:00
driver.c Driver core: remove unneeded completion from driver release path 2007-04-27 10:57:29 -07:00
firmware_class.c Driver Core: Increase the default timeout value of the firmware subsystem 2007-02-07 10:37:14 -08:00
firmware.c
hypervisor.c [S390] hypfs comment cleanup. 2006-09-20 15:58:44 +02:00
init.c
isa.c
Kconfig devres: device resource management 2007-02-09 17:39:36 -05:00
Makefile devres: device resource management 2007-02-09 17:39:36 -05:00
map.c
memory.c [PATCH] driver/base/memory.c: handle errors properly 2006-12-07 08:39:36 -08:00
node.c Replace remaining references to "driverfs" with "sysfs". 2007-02-17 19:13:42 +01:00
platform.c driver core fixes: device_register() retval check in platform.c 2007-02-07 10:37:12 -08:00
sys.c Remove obsolete #include <linux/config.h> 2006-06-30 19:25:36 +02:00
topology.c [PATCH] hotplug CPU: clean up hotcpu_notifier() use 2006-12-07 08:39:39 -08:00
transport_class.c