Merge branch 'acpi-assorted'
* acpi-assorted: ACPI: Add Toshiba NB100 to Vista _OSI blacklist ACPI / osl: remove an unneeded NULL check ACPI / platform: add ACPI ID for a Broadcom GPS chip ACPI: improve acpi_extract_package() utility ACPI / LPSS: fix UART Auto Flow Control ACPI / platform: Add ACPI IDs for Intel SST audio device x86 / ACPI: fix incorrect placement of __initdata tag ACPI / thermal: convert printk(LEVEL...) to pr_<lvl> ACPI / sysfs: make GPE sysfs attributes only accept correct values ACPI / EC: Convert all printk() calls to dynamic debug function ACPI / button: Using input_set_capability() to mark device's event capability ACPI / osl: implement acpi_os_sleep() with msleep()
This commit is contained in:
+2
-2
@@ -840,7 +840,7 @@ acpi_status acpi_os_remove_interrupt_handler(u32 irq, acpi_osd_handler handler)
|
||||
|
||||
void acpi_os_sleep(u64 ms)
|
||||
{
|
||||
schedule_timeout_interruptible(msecs_to_jiffies(ms));
|
||||
msleep(ms);
|
||||
}
|
||||
|
||||
void acpi_os_stall(u32 us)
|
||||
@@ -1355,7 +1355,7 @@ static int __init acpi_os_name_setup(char *str)
|
||||
if (!str || !*str)
|
||||
return 0;
|
||||
|
||||
for (; count-- && str && *str; str++) {
|
||||
for (; count-- && *str; str++) {
|
||||
if (isalnum(*str) || *str == ' ' || *str == ':')
|
||||
*p++ = *str;
|
||||
else if (*str == '\'' || *str == '"')
|
||||
|
||||
Reference in New Issue
Block a user