2
0
mirror of https://github.com/edk2-porting/linux-next.git synced 2024-12-26 22:24:09 +08:00
linux-next/drivers/video/backlight
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
..
backlight.c sysfs: kill unnecessary attribute->owner 2007-07-11 16:09:06 -07:00
corgi_bl.c backlight: simplify corgi_bl locking 2007-02-20 09:26:54 +00:00
cr_bllcd.c vmlfb: framebuffer driver for Intel Vermilion Range 2007-05-08 11:15:32 -07:00
hp680_bl.c backlight: Separate backlight properties from backlight ops pointers 2007-02-20 09:26:53 +00:00
Kconfig vmlfb: framebuffer driver for Intel Vermilion Range 2007-05-08 11:15:32 -07:00
lcd.c sysfs: kill unnecessary attribute->owner 2007-07-11 16:09:06 -07:00
locomolcd.c [ARM] 4250/1: Fix locomo backlight conversion error/compile failure 2007-03-08 13:34:01 +00:00
Makefile vmlfb: framebuffer driver for Intel Vermilion Range 2007-05-08 11:15:32 -07:00
progear_bl.c [PATCH] misc NULL noise 2007-03-14 15:27:49 -07:00