treewide: remove redundant IS_ERR() before error code check
[linux/fpc-iii.git] / drivers / acpi / debugfs.c
blobd5ecea3715f860afcddebc3697f8a008db756af0
1 // SPDX-License-Identifier: GPL-2.0-only
2 /*
3 * debugfs.c - ACPI debugfs interface to userspace.
4 */
6 #include <linux/export.h>
7 #include <linux/init.h>
8 #include <linux/debugfs.h>
9 #include <linux/acpi.h>
11 #include "internal.h"
13 #define _COMPONENT ACPI_SYSTEM_COMPONENT
14 ACPI_MODULE_NAME("debugfs");
16 struct dentry *acpi_debugfs_dir;
17 EXPORT_SYMBOL_GPL(acpi_debugfs_dir);
19 void __init acpi_debugfs_init(void)
21 acpi_debugfs_dir = debugfs_create_dir("acpi", NULL);