mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-09 21:59:12 -04:00
platform: goldfish: pipe: Remove redundant casting
This casting is not required. Signed-off-by: Roman Kiryanov <rkir@google.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
parent
60a6e5233f
commit
e6fb319330
1 changed files with 1 additions and 1 deletions
|
|
@ -925,7 +925,7 @@ static int goldfish_pipe_probe(struct platform_device *pdev)
|
|||
* 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))
|
||||
return -EINVAL;
|
||||
|
|
|
|||
Loading…
Reference in a new issue