]> git.baikalelectronics.ru Git - kernel.git/commit
remoteproc: fix various checkpatch warnings
authorSuman Anna <s-anna@ti.com>
Fri, 27 Feb 2015 23:18:23 +0000 (17:18 -0600)
committerOhad Ben-Cohen <ohad@wizery.com>
Sat, 2 May 2015 08:07:34 +0000 (11:07 +0300)
commitfce8dbe80a9fe4b46dfdbaa04e1ff1b7bec41573
tree2e0fbdca8d1f323819c72ac5285648bda996dd0b
parente93c37ca9ac181226ac39c2363a00813861f861d
remoteproc: fix various checkpatch warnings

Fix all the checkpatch warnings in the core remoteproc
code. The fixes cover the following warnings:
  1. WARNING: void function return statements are not generally useful
  2. WARNING: Possible unnecessary 'out of memory' message
  3. WARNING: line over 80 characters
  4. WARNING: braces {} are not necessary for single statement blocks
  5. WARNING: Unnecessary space before function pointer arguments

Signed-off-by: Suman Anna <s-anna@ti.com>
Signed-off-by: Ohad Ben-Cohen <ohad@wizery.com>
drivers/remoteproc/remoteproc_core.c
drivers/remoteproc/remoteproc_internal.h