Commit 334765f4 authored by Anna, Suman's avatar Anna, Suman Committed by Bjorn Andersson

remoteproc/omap: fix various code formatting issues

This patch fixes some of the existing checkpatch warnings in OMAP
remoteproc code. The fixes are to the following warnings:
1. WARNING: missing space after return type
2. WARNING: Unnecessary space after function pointer name
3. CHECK: Alignment should match open parenthesis
Signed-off-by: default avatarSuman Anna <s-anna@ti.com>
Signed-off-by: default avatarBjorn Andersson <bjorn.andersson@linaro.org>
parent 9d7814a9
...@@ -196,7 +196,7 @@ static int omap_rproc_probe(struct platform_device *pdev) ...@@ -196,7 +196,7 @@ static int omap_rproc_probe(struct platform_device *pdev)
} }
rproc = rproc_alloc(&pdev->dev, pdata->name, &omap_rproc_ops, rproc = rproc_alloc(&pdev->dev, pdata->name, &omap_rproc_ops,
pdata->firmware, sizeof(*oproc)); pdata->firmware, sizeof(*oproc));
if (!rproc) if (!rproc)
return -ENOMEM; return -ENOMEM;
......
...@@ -39,9 +39,9 @@ struct omap_rproc_pdata { ...@@ -39,9 +39,9 @@ struct omap_rproc_pdata {
const char *firmware; const char *firmware;
const char *mbox_name; const char *mbox_name;
const struct rproc_ops *ops; const struct rproc_ops *ops;
int (*device_enable) (struct platform_device *pdev); int (*device_enable)(struct platform_device *pdev);
int (*device_shutdown) (struct platform_device *pdev); int (*device_shutdown)(struct platform_device *pdev);
void(*set_bootaddr)(u32); void (*set_bootaddr)(u32);
}; };
#if defined(CONFIG_OMAP_REMOTEPROC) || defined(CONFIG_OMAP_REMOTEPROC_MODULE) #if defined(CONFIG_OMAP_REMOTEPROC) || defined(CONFIG_OMAP_REMOTEPROC_MODULE)
......
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