diff options
author | Anna, Suman <s-anna@ti.com> | 2016-08-12 19:42:22 -0400 |
---|---|---|
committer | Bjorn Andersson <bjorn.andersson@linaro.org> | 2016-08-13 00:27:50 -0400 |
commit | 334765f45b4db607768b64f4afe9fccf85bd6c0a (patch) | |
tree | b67f35d1ade3fee1d7dc8da0a94ca52b8347b0b0 | |
parent | 9d7814a9a48eb2283f1d93f52b020c0683fecf47 (diff) |
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: Suman Anna <s-anna@ti.com>
Signed-off-by: Bjorn Andersson <bjorn.andersson@linaro.org>
-rw-r--r-- | drivers/remoteproc/omap_remoteproc.c | 2 | ||||
-rw-r--r-- | include/linux/platform_data/remoteproc-omap.h | 6 |
2 files changed, 4 insertions, 4 deletions
diff --git a/drivers/remoteproc/omap_remoteproc.c b/drivers/remoteproc/omap_remoteproc.c index b74368a91235..ddc1a12d75e0 100644 --- a/drivers/remoteproc/omap_remoteproc.c +++ b/drivers/remoteproc/omap_remoteproc.c | |||
@@ -196,7 +196,7 @@ static int omap_rproc_probe(struct platform_device *pdev) | |||
196 | } | 196 | } |
197 | 197 | ||
198 | rproc = rproc_alloc(&pdev->dev, pdata->name, &omap_rproc_ops, | 198 | rproc = rproc_alloc(&pdev->dev, pdata->name, &omap_rproc_ops, |
199 | pdata->firmware, sizeof(*oproc)); | 199 | pdata->firmware, sizeof(*oproc)); |
200 | if (!rproc) | 200 | if (!rproc) |
201 | return -ENOMEM; | 201 | return -ENOMEM; |
202 | 202 | ||
diff --git a/include/linux/platform_data/remoteproc-omap.h b/include/linux/platform_data/remoteproc-omap.h index bfbd12b41162..71a1b2399c48 100644 --- a/include/linux/platform_data/remoteproc-omap.h +++ b/include/linux/platform_data/remoteproc-omap.h | |||
@@ -39,9 +39,9 @@ struct omap_rproc_pdata { | |||
39 | const char *firmware; | 39 | const char *firmware; |
40 | const char *mbox_name; | 40 | const char *mbox_name; |
41 | const struct rproc_ops *ops; | 41 | const struct rproc_ops *ops; |
42 | int (*device_enable) (struct platform_device *pdev); | 42 | int (*device_enable)(struct platform_device *pdev); |
43 | int (*device_shutdown) (struct platform_device *pdev); | 43 | int (*device_shutdown)(struct platform_device *pdev); |
44 | void(*set_bootaddr)(u32); | 44 | void (*set_bootaddr)(u32); |
45 | }; | 45 | }; |
46 | 46 | ||
47 | #if defined(CONFIG_OMAP_REMOTEPROC) || defined(CONFIG_OMAP_REMOTEPROC_MODULE) | 47 | #if defined(CONFIG_OMAP_REMOTEPROC) || defined(CONFIG_OMAP_REMOTEPROC_MODULE) |