-
由 Zhaolei 提交于
debugfs_create_file() returns NULL if an error occurs, returns -ENODEV when debugfs is not enabled in the kernel. Signed-off-by: NZhao Lei <zhaolei@cn.fujitsu.com> Signed-off-by: NPaul Mundt <lethal@linux-sh.org>
25627c7f
debugfs_create_file() returns NULL if an error occurs, returns -ENODEV when debugfs is not enabled in the kernel. Signed-off-by: NZhao Lei <zhaolei@cn.fujitsu.com> Signed-off-by: NPaul Mundt <lethal@linux-sh.org>