mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-31 12:10:52 -04:00
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 <[email protected]> [drop 80-char-lines checkpatch fixes and update commit log accordingly] Signed-off-by: Ohad Ben-Cohen <[email protected]>
This commit is contained in:
parent
89970d28cb
commit
5797115920
2 changed files with 3 additions and 4 deletions
|
|
@ -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);
|
||||
}
|
||||
|
|
|
|||
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Reference in a new issue