linux_dsm_epyc7002/drivers/acpi
Kay Sievers 0794469da3 ACPI: struct device - replace bus_id with dev_name(), dev_set_name()
This patch is part of a larger patch series which will remove
the "char bus_id[20]" name string from struct device. The device
name is managed in the kobject anyway, and without any size
limitation, and just needlessly copied into "struct device".

To set and read the device name dev_name(dev) and dev_set_name(dev)
must be used. If your code uses static kobjects, which it shouldn't
do, "const char *init_name" can be used to statically provide the
name the registered device should have. At registration time, the
init_name field is cleared, to enforce the use of dev_name(dev) to
access the device name at a later time.

We need to get rid of all occurrences of bus_id in the entire tree
to be able to enable the new interface. Please apply this patch,
and possibly convert any remaining remaining occurrences of bus_id.

We want to submit a patch to -next, which will remove bus_id from
"struct device", to find the remaining pieces to convert, and finally
switch over to the new api, which will remove the 20 bytes array
and does no longer have a size limitation.

Acked-by: Greg Kroah-Hartman <gregkh@suse.de>
Signed-Off-By: Kay Sievers <kay.sievers@vrfy.org>
Signed-off-by: Len Brown <len.brown@intel.com>
2008-11-06 21:37:19 -05:00
..
dispatcher
events
executer
hardware
namespace
parser
resources
sleep ACPI: struct device - replace bus_id with dev_name(), dev_set_name() 2008-11-06 21:37:19 -05:00
tables
utilities
ac.c ACPI: struct device - replace bus_id with dev_name(), dev_set_name() 2008-11-06 21:37:19 -05:00
acpi_memhotplug.c Merge branch 'ull' into test 2008-10-22 23:33:29 -04:00
asus_acpi.c Merge branch 'ull' into test 2008-10-22 23:33:29 -04:00
battery.c ACPI: struct device - replace bus_id with dev_name(), dev_set_name() 2008-11-06 21:37:19 -05:00
blacklist.c
bus.c Merge branch 'ull' into test 2008-10-22 23:33:29 -04:00
button.c ACPI: Always report a sync event after a lid state change 2008-10-25 04:07:12 -04:00
cm_sbs.c
container.c Merge branch 'ull' into test 2008-10-22 23:33:29 -04:00
debug.c
dock.c Merge branch 'ull' into test 2008-10-22 23:33:29 -04:00
ec.c Merge branch 'ull' into test 2008-10-22 23:33:29 -04:00
event.c
fan.c
glue.c
Kconfig dock: make dock driver not a module 2008-10-23 04:00:47 -04:00
Makefile ACPI: hack around sysfs warning with link order 2008-10-23 00:47:54 -04:00
numa.c
osl.c Merge branch 'ull' into test 2008-10-22 23:33:29 -04:00
pci_bind.c
pci_irq.c
pci_link.c
pci_root.c Merge branch 'ull' into test 2008-10-22 23:33:29 -04:00
pci_slot.c Merge branch 'release' of git://git.kernel.org/pub/scm/linux/kernel/git/lenb/linux-acpi-2.6 2008-10-23 10:20:36 -07:00
power.c Merge branch 'ull' into test 2008-10-22 23:33:29 -04:00
processor_core.c ACPI: struct device - replace bus_id with dev_name(), dev_set_name() 2008-11-06 21:37:19 -05:00
processor_idle.c
processor_perflib.c ACPI: cpufreq, processor: fix compile error in drivers/acpi/processor_perflib.c 2008-10-25 04:07:12 -04:00
processor_thermal.c
processor_throttling.c Merge branch 'ull' into test 2008-10-22 23:33:29 -04:00
reboot.c
sbs.c Merge branch 'linus' into test 2008-10-23 00:11:07 -04:00
sbshc.c Merge branch 'ull' into test 2008-10-22 23:33:29 -04:00
sbshc.h
scan.c ACPI: struct device - replace bus_id with dev_name(), dev_set_name() 2008-11-06 21:37:19 -05:00
system.c Merge branch 'linus' into test 2008-10-23 00:11:07 -04:00
tables.c
thermal.c ACPI: struct device - replace bus_id with dev_name(), dev_set_name() 2008-11-06 21:37:19 -05:00
toshiba_acpi.c toshiba_acpi: always call input_sync() after input_report_switch() 2008-10-25 04:07:13 -04:00
utils.c
video.c Merge branch 'ull' into test 2008-10-22 23:33:29 -04:00
wmi.c ACPI: struct device - replace bus_id with dev_name(), dev_set_name() 2008-11-06 21:37:19 -05:00