tracing: Fix comments about tracefs

There were some typos and mistakes in the tracefs code and the code
that calls tracefs.

Link: http://lkml.kernel.org/r/20150209055619.GA30788@sejong

Reported-by: Namhyung Kim <namhyung@kernel.org>
Signed-off-by: Steven Rostedt <rostedt@goodmis.org>
diff --git a/fs/tracefs/inode.c b/fs/tracefs/inode.c
index d92bdf3..f9adf6f 100644
--- a/fs/tracefs/inode.c
+++ b/fs/tracefs/inode.c
@@ -381,9 +381,6 @@
  * pointer must be passed to the tracefs_remove() function when the file is
  * to be removed (no automatic cleanup happens if your module is unloaded,
  * you are responsible here.)  If an error occurs, %NULL will be returned.
- *
- * If tracefs is not enabled in the kernel, the value -%ENODEV will be
- * returned.
  */
 struct dentry *tracefs_create_file(const char *name, umode_t mode,
 				   struct dentry *parent, void *data,
@@ -450,9 +447,6 @@
  * This function will return a pointer to a dentry if it succeeds.  This
  * pointer must be passed to the tracefs_remove() function when the file is
  * to be removed. If an error occurs, %NULL will be returned.
- *
- * If tracing is not enabled in the kernel, the value -%ENODEV will be
- * returned.
  */
 struct dentry *tracefs_create_dir(const char *name, struct dentry *parent)
 {
@@ -470,7 +464,7 @@
  *
  * The instances directory is special as it allows for mkdir and rmdir to
  * to be done by userspace. When a mkdir or rmdir is performed, the inode
- * locks are released and the methhods passed in (@mkdir and @rmdir) are
+ * locks are released and the methods passed in (@mkdir and @rmdir) are
  * called without locks and with the name of the directory being created
  * within the instances directory.
  *
diff --git a/kernel/trace/trace.c b/kernel/trace/trace.c
index 3c8913b..89755e0 100644
--- a/kernel/trace/trace.c
+++ b/kernel/trace/trace.c
@@ -6515,7 +6515,7 @@
 	 * As there may still be users that expect the tracing
 	 * files to exist in debugfs/tracing, we must automount
 	 * the tracefs file system there, so older tools still
-	 * work with the newer kerenl.
+	 * work with the newer kernel.
 	 */
 	tr->dir = debugfs_create_automount("tracing", NULL,
 					   trace_automount, NULL);