| .. | .. |
|---|
| 1 | +// SPDX-License-Identifier: GPL-2.0-only |
|---|
| 1 | 2 | /* |
|---|
| 2 | 3 | * Copyright (C) 2010 Google, Inc. |
|---|
| 3 | 4 | * Author: Erik Gilling <konkers@android.com> |
|---|
| 4 | 5 | * |
|---|
| 5 | 6 | * Copyright (C) 2011-2013 NVIDIA Corporation |
|---|
| 6 | | - * |
|---|
| 7 | | - * This software is licensed under the terms of the GNU General Public |
|---|
| 8 | | - * License version 2, as published by the Free Software Foundation, and |
|---|
| 9 | | - * may be copied, distributed, and modified under those terms. |
|---|
| 10 | | - * |
|---|
| 11 | | - * This program is distributed in the hope that it will be useful, |
|---|
| 12 | | - * but WITHOUT ANY WARRANTY; without even the implied warranty of |
|---|
| 13 | | - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
|---|
| 14 | | - * GNU General Public License for more details. |
|---|
| 15 | | - * |
|---|
| 16 | 7 | */ |
|---|
| 17 | 8 | |
|---|
| 18 | 9 | #include <linux/debugfs.h> |
|---|
| .. | .. |
|---|
| 174 | 165 | static void host1x_debugfs_init(struct host1x *host1x) |
|---|
| 175 | 166 | { |
|---|
| 176 | 167 | struct dentry *de = debugfs_create_dir("tegra-host1x", NULL); |
|---|
| 177 | | - |
|---|
| 178 | | - if (!de) |
|---|
| 179 | | - return; |
|---|
| 180 | 168 | |
|---|
| 181 | 169 | /* Store the created entry */ |
|---|
| 182 | 170 | host1x->debugfs = de; |
|---|