Commit 57971159208757a37d44356764911703468a7ca3

Authored by Suman Anna
Committed by Ohad Ben-Cohen
1 parent 89970d28cb

remoteproc: fix checkpatch errors in remoteproc code

This patch fixes relevant checkpatch errors and warnings
in the remoteproc source files.

Signed-off-by: Suman Anna <s-anna@ti.com>
[drop 80-char-lines checkpatch fixes and update commit log accordingly]
Signed-off-by: Ohad Ben-Cohen <ohad@wizery.com>

Showing 2 changed files with 3 additions and 4 deletions Side-by-side Diff

drivers/remoteproc/remoteproc_debugfs.c
... ... @@ -248,7 +248,6 @@
248 248  
249 249 void __exit rproc_exit_debugfs(void)
250 250 {
251   - if (rproc_dbg)
252   - debugfs_remove(rproc_dbg);
  251 + debugfs_remove(rproc_dbg);
253 252 }
drivers/remoteproc/remoteproc_internal.h
... ... @@ -107,12 +107,12 @@
107 107  
108 108 static inline
109 109 struct resource_table *rproc_find_loaded_rsc_table(struct rproc *rproc,
110   - const struct firmware *fw)
  110 + const struct firmware *fw)
111 111 {
112 112 if (rproc->fw_ops->find_loaded_rsc_table)
113 113 return rproc->fw_ops->find_loaded_rsc_table(rproc, fw);
114 114  
115   - return NULL;
  115 + return NULL;
116 116 }
117 117  
118 118 extern const struct rproc_fw_ops rproc_elf_fw_ops;