kobjects: fix up improper use of the kobject name field
authorGreg Kroah-Hartman <gregkh@suse.de>
Wed, 12 Sep 2007 22:06:57 +0000 (15:06 -0700)
committerGreg Kroah-Hartman <gregkh@suse.de>
Fri, 12 Oct 2007 21:51:02 +0000 (14:51 -0700)
commit19c38de88a80913351fcacefdb461cc0b585fa87
tree17d2978ce27861926a0d9a3eb49471b9b736f968
parent5901d0145c6b9e791bacd049eea11c9db9a3006e
kobjects: fix up improper use of the kobject name field

A number of different drivers incorrect access the kobject name field
directly.  This is not correct as the name might not be in the array.
Use the proper accessor function instead.
block/elevator.c
block/ll_rw_blk.c
drivers/acpi/bus.c
drivers/cpufreq/cpufreq.c
drivers/md/md.c
drivers/net/ibmveth.c
drivers/pci/setup-irq.c
fs/partitions/check.c
fs/sysfs/dir.c
net/bridge/br_sysfs_br.c