.. | .. |
---|
1 | | -/** |
---|
| 1 | +/* |
---|
2 | 2 | * Copyright (c) 2014 Redpine Signals Inc. |
---|
3 | 3 | * |
---|
4 | 4 | * Permission to use, copy, modify, and/or distribute this software for any |
---|
.. | .. |
---|
59 | 59 | } |
---|
60 | 60 | |
---|
61 | 61 | /** |
---|
62 | | - * rsi_sdio_stats_open() - This funtion calls single open function of seq_file |
---|
| 62 | + * rsi_sdio_stats_open() - This function calls single open function of seq_file |
---|
63 | 63 | * to open file and read contents from it. |
---|
64 | 64 | * @inode: Pointer to the inode structure. |
---|
65 | 65 | * @file: Pointer to the file structure. |
---|
.. | .. |
---|
93 | 93 | } |
---|
94 | 94 | |
---|
95 | 95 | /** |
---|
96 | | - * rsi_version_open() - This funtion calls single open function of seq_file to |
---|
| 96 | + * rsi_version_open() - This function calls single open function of seq_file to |
---|
97 | 97 | * open file and read contents from it. |
---|
98 | 98 | * @inode: Pointer to the inode structure. |
---|
99 | 99 | * @file: Pointer to the file structure. |
---|
.. | .. |
---|
178 | 178 | } |
---|
179 | 179 | |
---|
180 | 180 | /** |
---|
181 | | - * rsi_stats_open() - This funtion calls single open function of seq_file to |
---|
| 181 | + * rsi_stats_open() - This function calls single open function of seq_file to |
---|
182 | 182 | * open file and read contents from it. |
---|
183 | 183 | * @inode: Pointer to the inode structure. |
---|
184 | 184 | * @file: Pointer to the file structure. |
---|
.. | .. |
---|
207 | 207 | } |
---|
208 | 208 | |
---|
209 | 209 | /** |
---|
210 | | - * rsi_debug_read() - This funtion calls single open function of seq_file to |
---|
| 210 | + * rsi_debug_read() - This function calls single open function of seq_file to |
---|
211 | 211 | * open file and read contents from it. |
---|
212 | 212 | * @inode: Pointer to the inode structure. |
---|
213 | 213 | * @file: Pointer to the file structure. |
---|
.. | .. |
---|
296 | 296 | wiphy_name(adapter->hw->wiphy)); |
---|
297 | 297 | |
---|
298 | 298 | dev_dbgfs->subdir = debugfs_create_dir(devdir, NULL); |
---|
299 | | - |
---|
300 | | - if (!dev_dbgfs->subdir) { |
---|
301 | | - kfree(dev_dbgfs); |
---|
302 | | - return -ENOMEM; |
---|
303 | | - } |
---|
304 | 299 | |
---|
305 | 300 | for (ii = 0; ii < adapter->num_debugfs_entries; ii++) { |
---|
306 | 301 | files = &dev_debugfs_files[ii]; |
---|