diff options
author | Suman Anna <s-anna@ti.com> | 2013-06-30 10:33:05 +0200 |
---|---|---|
committer | Ohad Ben-Cohen <ohad@wizery.com> | 2013-06-30 10:33:05 +0200 |
commit | 57971159208757a37d44356764911703468a7ca3 (patch) | |
tree | 99f3cec367f5652ed8b41ce81f1591914b8197e4 | |
parent | remoteproc: fix error return code in rproc_fw_boot() (diff) | |
download | linux-57971159208757a37d44356764911703468a7ca3.tar.xz linux-57971159208757a37d44356764911703468a7ca3.zip |
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>
-rw-r--r-- | drivers/remoteproc/remoteproc_debugfs.c | 3 | ||||
-rw-r--r-- | drivers/remoteproc/remoteproc_internal.h | 4 |
2 files changed, 3 insertions, 4 deletions
diff --git a/drivers/remoteproc/remoteproc_debugfs.c b/drivers/remoteproc/remoteproc_debugfs.c index 157a57309601..9d30809bb407 100644 --- a/drivers/remoteproc/remoteproc_debugfs.c +++ b/drivers/remoteproc/remoteproc_debugfs.c @@ -248,6 +248,5 @@ void __init rproc_init_debugfs(void) void __exit rproc_exit_debugfs(void) { - if (rproc_dbg) - debugfs_remove(rproc_dbg); + debugfs_remove(rproc_dbg); } diff --git a/drivers/remoteproc/remoteproc_internal.h b/drivers/remoteproc/remoteproc_internal.h index 157e762c1571..70701a50ddfa 100644 --- a/drivers/remoteproc/remoteproc_internal.h +++ b/drivers/remoteproc/remoteproc_internal.h @@ -107,12 +107,12 @@ struct resource_table *rproc_find_rsc_table(struct rproc *rproc, static inline struct resource_table *rproc_find_loaded_rsc_table(struct rproc *rproc, - const struct firmware *fw) + const struct firmware *fw) { if (rproc->fw_ops->find_loaded_rsc_table) return rproc->fw_ops->find_loaded_rsc_table(rproc, fw); - return NULL; + return NULL; } extern const struct rproc_fw_ops rproc_elf_fw_ops; |