tmp_suning_uos_patched/drivers/acpi
Tejun Heo 3e5cd1f257 dmi: extend dmi_get_year() to dmi_get_date()
There are cases where full date information is required instead of
just the year.  Add month and day parsing to dmi_get_year() and rename
it to dmi_get_date().

As the original function only required '/' followed by any number of
parseable characters at the end of the string, keep that behavior to
avoid upsetting existing users.

The new function takes dates of format [mm[/dd]]/yy[yy].  Year, month
and date are checked to be in the ranges of [1-9999], [1-12] and
[1-31] respectively and any invalid or out-of-range component is
returned as zero.

The dummy implementation is updated accordingly but the return value
is updated to indicate field not found which is consistent with how
other dummy functions behave.

Signed-off-by: Tejun Heo <tj@kernel.org>
Signed-off-by: Jeff Garzik <jgarzik@redhat.com>
2009-09-08 21:17:48 -04:00
..
acpica ACPICA: Windows compatibility fix: same buffer/string store 2009-08-28 15:17:07 -04:00
ac.c
acpi_memhotplug.c ACPI: Ingore the memory block with zero block size in course of memory hotplug 2009-08-02 12:25:12 -04:00
battery.c
blacklist.c dmi: extend dmi_get_year() to dmi_get_date() 2009-09-08 21:17:48 -04:00
bus.c
button.c
cm_sbs.c
container.c
debug.c
dock.c
ec.c
event.c
fan.c
glue.c
internal.h
Kconfig
Makefile
numa.c
osl.c ACPI: bind workqueues to CPU 0 to avoid SMI corruption 2009-08-02 12:08:50 -04:00
pci_bind.c
pci_irq.c Merge branches 'acerhdf', 'acpi-pci-bind', 'bjorn-pci-root', 'bugzilla-12904', 'bugzilla-13121', 'bugzilla-13396', 'bugzilla-13533', 'bugzilla-13612', 'c3_lock', 'hid-cleanups', 'misc-2.6.31', 'pdc-leak-fix', 'pnpacpi', 'power_nocheck', 'thinkpad_acpi', 'video' and 'wmi' into release 2009-06-24 01:19:50 -04:00
pci_link.c
pci_root.c ACPI: video: prevent NULL deref in acpi_get_pci_dev() 2009-06-26 00:23:42 -04:00
pci_slot.c
power.c
proc.c
processor_core.c acpi: don't call acpi_processor_init if acpi is disabled 2009-08-26 20:06:52 -07:00
processor_idle.c clockevent: Prevent dead lock on clockevents_lock 2009-08-19 18:15:10 +02:00
processor_perflib.c
processor_thermal.c ACPI processor: force throttling state when BIOS returns incorrect value 2009-08-26 20:06:53 -07:00
processor_throttling.c acpi processor: remove superfluous warning message 2009-08-26 20:06:53 -07:00
reboot.c
sbs.c
sbshc.c
sbshc.h
scan.c Merge branches 'acerhdf', 'acpi-pci-bind', 'bjorn-pci-root', 'bugzilla-12904', 'bugzilla-13121', 'bugzilla-13396', 'bugzilla-13533', 'bugzilla-13612', 'c3_lock', 'hid-cleanups', 'misc-2.6.31', 'pdc-leak-fix', 'pnpacpi', 'power_nocheck', 'thinkpad_acpi', 'video' and 'wmi' into release 2009-06-24 01:19:50 -04:00
sleep.c PM / ACPI: HP G7000 Notebook needs a SCI_EN resume quirk 2009-07-29 21:07:47 +02:00
sleep.h
system.c ACPI: root-only read protection on /sys/firmware/acpi/tables/* 2009-08-02 11:26:43 -04:00
tables.c
thermal.c
utils.c
video_detect.c
video.c ACPI: don't free non-existent backlight in acpi video module 2009-08-28 15:17:07 -04:00
wakeup.c