WSL2-Linux-Kernel/drivers/cpufreq
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
..
Kconfig [CPUFREQ] cleanup kconfig options 2007-04-26 14:32:03 -04:00
Makefile [CPUFREQ] Conservative cpufreq governer 2005-05-31 19:03:47 -07:00
cpufreq.c Add suspend-related notifications for CPU hotplug 2007-05-09 12:30:56 -07:00
cpufreq_conservative.c Merge master.kernel.org:/pub/scm/linux/kernel/git/davej/cpufreq 2007-02-16 08:16:01 -08:00
cpufreq_ondemand.c Add a new deferrable delayed work init 2007-05-08 11:15:05 -07:00
cpufreq_performance.c [CPUFREQ] Fix coding style issues in cpufreq. 2006-11-06 19:16:34 -05:00
cpufreq_powersave.c [CPUFREQ] Fix coding style issues in cpufreq. 2006-11-06 19:16:34 -05:00
cpufreq_stats.c sysfs: kill unnecessary attribute->owner 2007-07-11 16:09:06 -07:00
cpufreq_userspace.c sysfs: kill unnecessary attribute->owner 2007-07-11 16:09:06 -07:00
freq_table.c sysfs: kill unnecessary attribute->owner 2007-07-11 16:09:06 -07:00