diff options
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/acpi/system.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/acpi/system.c b/drivers/acpi/system.c index ce881713f7a6..55cf4c05bb74 100644 --- a/drivers/acpi/system.c +++ b/drivers/acpi/system.c | |||
@@ -357,8 +357,8 @@ void acpi_irq_stats_init(void) | |||
357 | } | 357 | } |
358 | 358 | ||
359 | interrupt_stats_attr_group.attrs = all_attrs; | 359 | interrupt_stats_attr_group.attrs = all_attrs; |
360 | sysfs_create_group(acpi_kobj, &interrupt_stats_attr_group); | 360 | if (!sysfs_create_group(acpi_kobj, &interrupt_stats_attr_group)) |
361 | return; | 361 | return; |
362 | 362 | ||
363 | fail: | 363 | fail: |
364 | delete_gpe_attr_array(); | 364 | delete_gpe_attr_array(); |