mirror of
https://github.com/Fishwaldo/Star64_linux.git
synced 2025-06-24 07:31:41 +00:00
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: Suman Anna <s-anna@ti.com> Signed-off-by: Bjorn Andersson <bjorn.andersson@linaro.org>
This commit is contained in:
parent
f145928d49
commit
730f84ce6d
6 changed files with 41 additions and 41 deletions
|
@ -560,7 +560,6 @@ out:
|
||||||
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,
|
||||||
{
|
{
|
||||||
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 {
|
||||||
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)
|
||||||
|
|
||||||
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);
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue