Driver core: change sysdev classes to use dynamic kobject names
authorKay Sievers <kay.sievers@vrfy.org>
Thu, 20 Dec 2007 01:09:39 +0000 (02:09 +0100)
committerGreg Kroah-Hartman <gregkh@suse.de>
Fri, 25 Jan 2008 04:40:40 +0000 (20:40 -0800)
commitaf5ca3f4ec5cc4432a42a73b050dd8898ce8fd00
tree3e5a3081b2802547f10da72c0026b4929d0e287b
parent528a4bf1d5ffed310d26fc1d82d45c02949f71cf
Driver core: change sysdev classes to use dynamic kobject names

All kobjects require a dynamically allocated name now. We no longer
need to keep track if the name is statically assigned, we can just
unconditionally free() all kobject names on cleanup.

Signed-off-by: Kay Sievers <kay.sievers@vrfy.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
55 files changed:
arch/arm/kernel/time.c
arch/arm/mach-integrator/integrator_ap.c
arch/arm/mach-pxa/cm-x270.c
arch/arm/mach-pxa/lpd270.c
arch/arm/mach-pxa/lubbock.c
arch/arm/mach-pxa/mainstone.c
arch/arm/mach-s3c2410/s3c2410.c
arch/arm/mach-s3c2412/s3c2412.c
arch/arm/mach-s3c2440/mach-osiris.c
arch/arm/mach-s3c2443/s3c2443.c
arch/arm/mach-sa1100/irq.c
arch/arm/oprofile/common.c
arch/arm/plat-omap/gpio.c
arch/arm/plat-s3c24xx/dma.c
arch/arm/plat-s3c24xx/s3c244x.c
arch/avr32/kernel/time.c
arch/mips/kernel/i8259.c
arch/powerpc/platforms/cell/spu_base.c
arch/powerpc/platforms/powermac/pic.c
arch/powerpc/sysdev/ipic.c
arch/powerpc/sysdev/mpic.c
arch/powerpc/sysdev/qe_lib/qe_ic.c
arch/ppc/syslib/ipic.c
arch/ppc/syslib/open_pic.c
arch/ppc/syslib/open_pic2.c
arch/s390/kernel/time.c
arch/sh/drivers/dma/dma-sysfs.c
arch/sh/kernel/time.c
arch/x86/kernel/apic_32.c
arch/x86/kernel/apic_64.c
arch/x86/kernel/cpu/mcheck/mce_64.c
arch/x86/kernel/i8237.c
arch/x86/kernel/i8259_32.c
arch/x86/kernel/i8259_64.c
arch/x86/kernel/io_apic_32.c
arch/x86/kernel/io_apic_64.c
arch/x86/kernel/nmi_32.c
arch/x86/kernel/nmi_64.c
arch/x86/oprofile/nmi_int.c
drivers/acpi/pci_link.c
drivers/base/class.c
drivers/base/cpu.c
drivers/base/memory.c
drivers/base/node.c
drivers/base/sys.c
drivers/edac/edac_module.c
drivers/kvm/kvm_main.c
drivers/macintosh/via-pmu.c
drivers/scsi/libsas/sas_scsi_host.c
include/linux/kobject.h
include/linux/sysdev.h
kernel/rtmutex-tester.c
kernel/time/clocksource.c
kernel/time/timekeeping.c
lib/kobject.c