platform: goldfish: pipe: Remove redundant casting
This casting is not required.
Signed-off-by: Roman Kiryanov <email@example.com>
Signed-off-by: Greg Kroah-Hartman <firstname.lastname@example.org>
diff --git a/drivers/platform/goldfish/goldfish_pipe.c b/drivers/platform/goldfish/goldfish_pipe.c
index c386aaf..bc431f0 100644
@@ -925,7 +925,7 @@
* reading device version back: this allows the host implementation to
* detect the old driver (if there was no version write before read).
- writel((u32)PIPE_DRIVER_VERSION, dev->base + PIPE_REG_VERSION);
+ writel(PIPE_DRIVER_VERSION, dev->base + PIPE_REG_VERSION);
dev->version = readl(dev->base + PIPE_REG_VERSION);
if (WARN_ON(dev->version < PIPE_CURRENT_DEVICE_VERSION))