Commit 730f84ce authored by Anna, Suman's avatar Anna, Suman Committed by Bjorn Andersson

remoteproc: align code with open parenthesis

This patch fixes the existing alignment checkpatch check
warnings of the type "Alignment should match open parenthesis"
in the remoteproc core source files.
Signed-off-by: default avatarSuman Anna <s-anna@ti.com>
Signed-off-by: default avatarBjorn Andersson <bjorn.andersson@linaro.org>
parent f145928d
...@@ -560,7 +560,6 @@ static int rproc_handle_devmem(struct rproc *rproc, struct fw_rsc_devmem *rsc, ...@@ -560,7 +560,6 @@ static int rproc_handle_devmem(struct rproc *rproc, struct fw_rsc_devmem *rsc,
static int rproc_handle_carveout(struct rproc *rproc, static int rproc_handle_carveout(struct rproc *rproc,
struct fw_rsc_carveout *rsc, struct fw_rsc_carveout *rsc,
int offset, int avail) int offset, int avail)
{ {
struct rproc_mem_entry *carveout, *mapping; struct rproc_mem_entry *carveout, *mapping;
struct device *dev = &rproc->dev; struct device *dev = &rproc->dev;
......
...@@ -234,8 +234,8 @@ struct dentry *rproc_create_trace_file(const char *name, struct rproc *rproc, ...@@ -234,8 +234,8 @@ struct dentry *rproc_create_trace_file(const char *name, struct rproc *rproc,
{ {
struct dentry *tfile; struct dentry *tfile;
tfile = debugfs_create_file(name, 0400, rproc->dbg_dir, tfile = debugfs_create_file(name, 0400, rproc->dbg_dir, trace,
trace, &trace_rproc_ops); &trace_rproc_ops);
if (!tfile) { if (!tfile) {
dev_err(&rproc->dev, "failed to create debugfs trace entry\n"); dev_err(&rproc->dev, "failed to create debugfs trace entry\n");
return NULL; return NULL;
......
...@@ -38,8 +38,8 @@ struct rproc_fw_ops { ...@@ -38,8 +38,8 @@ struct rproc_fw_ops {
struct resource_table *(*find_rsc_table)(struct rproc *rproc, struct resource_table *(*find_rsc_table)(struct rproc *rproc,
const struct firmware *fw, const struct firmware *fw,
int *tablesz); int *tablesz);
struct resource_table *(*find_loaded_rsc_table)(struct rproc *rproc, struct resource_table *(*find_loaded_rsc_table)(
const struct firmware *fw); struct rproc *rproc, const struct firmware *fw);
int (*load)(struct rproc *rproc, const struct firmware *fw); int (*load)(struct rproc *rproc, const struct firmware *fw);
int (*sanity_check)(struct rproc *rproc, const struct firmware *fw); int (*sanity_check)(struct rproc *rproc, const struct firmware *fw);
u32 (*get_boot_addr)(struct rproc *rproc, const struct firmware *fw); u32 (*get_boot_addr)(struct rproc *rproc, const struct firmware *fw);
...@@ -98,7 +98,8 @@ int rproc_load_segments(struct rproc *rproc, const struct firmware *fw) ...@@ -98,7 +98,8 @@ int rproc_load_segments(struct rproc *rproc, const struct firmware *fw)
static inline static inline
struct resource_table *rproc_find_rsc_table(struct rproc *rproc, struct resource_table *rproc_find_rsc_table(struct rproc *rproc,
const struct firmware *fw, int *tablesz) const struct firmware *fw,
int *tablesz)
{ {
if (rproc->fw_ops->find_rsc_table) if (rproc->fw_ops->find_rsc_table)
return rproc->fw_ops->find_rsc_table(rproc, fw, tablesz); return rproc->fw_ops->find_rsc_table(rproc, fw, tablesz);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment