android_kernel_xiaomi_sm8350/drivers
Tejun Heo 7b595756ec sysfs: kill unnecessary attribute->owner
sysfs is now completely out of driver/module lifetime game.  After
deletion, a sysfs node doesn't access anything outside sysfs proper,
so there's no reason to hold onto the attribute owners.  Note that
often the wrong modules were accounted for as owners leading to
accessing removed modules.

This patch kills now unnecessary attribute->owner.  Note that with
this change, userland holding a sysfs node does not prevent the
backing module from being unloaded.

For more info regarding lifetime rule cleanup, please read the
following message.

  http://article.gmane.org/gmane.linux.kernel/510293

(tweaked by Greg to not delete the field just yet, to make it easier to
merge things properly.)

Signed-off-by: Tejun Heo <htejun@gmail.com>
Cc: Cornelia Huck <cornelia.huck@de.ibm.com>
Cc: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
2007-07-11 16:09:06 -07:00
..
acorn [PATCH] fix request->cmd == INT cases 2007-07-10 08:03:34 +02:00
acpi ACPI: fix acpi_osi=!Linux 2007-07-02 21:06:48 -07:00
amba
ata [libata] sata_mv: print out additional chip info during probe 2007-07-09 12:29:31 -04:00
atm potential compiler error, irqfunc caller sites update 2007-07-06 10:23:43 -07:00
auxdisplay
base sysfs: kill unnecessary attribute->owner 2007-07-11 16:09:06 -07:00
block sysfs: kill unnecessary attribute->owner 2007-07-11 16:09:06 -07:00
bluetooth
cdrom Remove legacy CDROM drivers 2007-07-10 08:03:34 +02:00
char sysfs: kill unnecessary attribute->owner 2007-07-11 16:09:06 -07:00
clocksource
connector
cpufreq sysfs: kill unnecessary attribute->owner 2007-07-11 16:09:06 -07:00
crypto
dio
dma IOATDMA: fix section mismatches 2007-06-28 11:34:53 -07:00
edac
eisa
fc4
firewire firewire: fw-sbp2: fix DMA mapping of management ORBs 2007-07-10 00:07:49 +02:00
firmware sysfs: kill unnecessary attribute->owner 2007-07-11 16:09:06 -07:00
hid Merge branches 'debug-module-param' and 'upstream' into for-linus 2007-07-09 14:23:37 +02:00
hwmon hwmon/coretemp: fix a broken error path 2007-06-24 08:59:10 -07:00
i2c sysfs: kill unnecessary attribute->owner 2007-07-11 16:09:06 -07:00
ide [PATCH] fix request->cmd == INT cases 2007-07-10 08:03:34 +02:00
ieee1394 ieee1394: remove old isochronous ABI 2007-07-10 00:07:41 +02:00
infiniband sysfs: kill unnecessary attribute->owner 2007-07-11 16:09:06 -07:00
input sysfs: kill unnecessary attribute->owner 2007-07-11 16:09:06 -07:00
isdn
kvm KVM: Prevent guest fpu state from leaking into the host 2007-06-15 12:30:59 +03:00
leds
macintosh sysfs: kill unnecessary attribute->owner 2007-07-11 16:09:06 -07:00
mca
md md: fix bug in error handling during raid1 repair 2007-06-16 13:16:15 -07:00
media V4L/DVB (5822): Fix the return value in ttpci_budget_init() 2007-07-03 15:11:21 -03:00
message
mfd SM501: Check SM501 ID register on initialisation 2007-06-24 08:59:11 -07:00
misc sysfs: kill unnecessary attribute->owner 2007-07-11 16:09:06 -07:00
mmc mmc: at91_mci: fix hanging and rework to match flowcharts 2007-07-09 21:29:07 +02:00
mtd [MIPS] remove LASAT Networks platforms support 2007-07-10 17:33:04 +01:00
net sysfs: kill unnecessary attribute->owner 2007-07-11 16:09:06 -07:00
nubus
oprofile
parisc sysfs: kill unnecessary attribute->owner 2007-07-11 16:09:06 -07:00
parport
pci sysfs: kill unnecessary attribute->owner 2007-07-11 16:09:06 -07:00
pcmcia sysfs: kill unnecessary attribute->owner 2007-07-11 16:09:06 -07:00
pnp PNP SMCf010 quirk: work around Toshiba Portege 4000 ACPI issues 2007-07-06 10:23:43 -07:00
power [BATTERY] One Laptop Per Child power/battery driver 2007-07-10 11:28:22 +01:00
ps3
rapidio sysfs: kill unnecessary attribute->owner 2007-07-11 16:09:06 -07:00
rtc sysfs: kill unnecessary attribute->owner 2007-07-11 16:09:06 -07:00
s390 sysfs: kill unnecessary attribute->owner 2007-07-11 16:09:06 -07:00
sbus
scsi sysfs: kill unnecessary attribute->owner 2007-07-11 16:09:06 -07:00
serial PCMCIA-NETDEV : add new ID of lan&modem multifunction card 2007-07-08 22:16:39 -04:00
sh
sn
spi sysfs: kill unnecessary attribute->owner 2007-07-11 16:09:06 -07:00
tc [MIPS] DEC: Fix modpost warning. 2007-07-10 17:33:05 +01:00
telephony
usb PM: Remove prev_state from struct dev_pm_info 2007-07-11 16:09:02 -07:00
video sysfs: kill unnecessary attribute->owner 2007-07-11 16:09:06 -07:00
w1 sysfs: kill unnecessary attribute->owner 2007-07-11 16:09:06 -07:00
zorro sysfs: kill unnecessary attribute->owner 2007-07-11 16:09:06 -07:00
Kconfig Merge git://git.infradead.org/~dwmw2/battery-2.6 2007-07-10 14:47:59 -07:00
Makefile [BATTERY] Universal power supply class (was: battery class) 2007-07-10 11:25:44 +01:00