tracing/trivial: Consolidate error return condition
tracing/trivial: Consolidate error return condition

Consolidate the checks for !enabled and !param to return -EINVAL
in event_enable_func().

Link: http://lkml.kernel.org/r/1369380137-12452-1-git-send-email-25a9fc4361f0de99d66f569f23dc0154e7064e35@linux.vnet.ibm.com

Signed-off-by: Harsh Prateek Bora <25a9fc4361f0de99d66f569f23dc0154e7064e35@linux.vnet.ibm.com>
Signed-off-by: Steven Rostedt <43232e92d70cc7aa53504ad0397085ee47bad87f@goodmis.org>

KristFoundation/Programs,KristFoundation/Programs,KristFoundation/Programs,KristFoundation/Programs,KristFoundation/Programs,KristFoundation/Programs