projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
610a72b
)
platform: goldfish: pipe: Remove reduntant casting
author
Roman Kiryanov
<
[email protected]
>
Mon, 27 Aug 2018 18:23:07 +0000
(11:23 -0700)
committer
Greg Kroah-Hartman
<
[email protected]
>
Fri, 14 Sep 2018 13:31:30 +0000
(15:31 +0200)
Casting to u32 is not required here.
Signed-off-by: Roman Kiryanov <
[email protected]
>
Signed-off-by: Greg Kroah-Hartman <
[email protected]
>
drivers/platform/goldfish/goldfish_pipe.c
patch
|
blob
|
history
diff --git
a/drivers/platform/goldfish/goldfish_pipe.c
b/drivers/platform/goldfish/goldfish_pipe.c
index e3c09ff7867a2d5d0a60b505ff134a2894bab3af..ff0e150d15d5b300d030b97cda201da1df22d376 100644
(file)
--- a/
drivers/platform/goldfish/goldfish_pipe.c
+++ b/
drivers/platform/goldfish/goldfish_pipe.c
@@
-828,7
+828,7
@@
static int goldfish_pipe_device_init(struct platform_device *pdev)
dev->base + PIPE_REG_SIGNAL_BUFFER,
dev->base + PIPE_REG_SIGNAL_BUFFER_HIGH);
- writel(
(u32)
MAX_SIGNALLED_PIPES,
+ writel(MAX_SIGNALLED_PIPES,
dev->base + PIPE_REG_SIGNAL_BUFFER_COUNT);
write_pa_addr(&dev->buffers->open_command_params,