.. | .. |
---|
| 1 | +// SPDX-License-Identifier: GPL-2.0-only |
---|
1 | 2 | /* |
---|
2 | 3 | * NFC hardware simulation driver |
---|
3 | 4 | * Copyright (c) 2013, Intel Corporation. |
---|
4 | | - * |
---|
5 | | - * This program is free software; you can redistribute it and/or modify it |
---|
6 | | - * under the terms and conditions of the GNU General Public License, |
---|
7 | | - * version 2, as published by the Free Software Foundation. |
---|
8 | | - * |
---|
9 | | - * This program is distributed in the hope it will be useful, but WITHOUT |
---|
10 | | - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or |
---|
11 | | - * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for |
---|
12 | | - * more details. |
---|
13 | | - * |
---|
14 | 5 | */ |
---|
15 | 6 | |
---|
16 | 7 | #include <linux/device.h> |
---|
.. | .. |
---|
345 | 336 | static void nfcsim_debugfs_init(void) |
---|
346 | 337 | { |
---|
347 | 338 | nfcsim_debugfs_root = debugfs_create_dir("nfcsim", NULL); |
---|
348 | | - |
---|
349 | | - if (!nfcsim_debugfs_root) |
---|
350 | | - pr_err("Could not create debugfs entry\n"); |
---|
351 | | - |
---|
352 | 339 | } |
---|
353 | 340 | |
---|
354 | 341 | static void nfcsim_debugfs_remove(void) |
---|