media: s5p-jpeg: don't return a value on a void function
authorMauro Carvalho Chehab <mchehab@s-opensource.com>
Fri, 20 Apr 2018 19:01:55 +0000 (15:01 -0400)
committerMauro Carvalho Chehab <mchehab+samsung@kernel.org>
Fri, 4 May 2018 12:58:22 +0000 (08:58 -0400)
Building this driver on arm64 gives this warning:
drivers/media/platform/s5p-jpeg/jpeg-hw-exynos3250.c:430:16: error: return expression in void function

Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
Reviewed-by: Jacek Anaszewski <jacek.anaszewski@gmail.com>
Acked-by: Andrzej Pietrasiewicz <andrzej.p@samsung.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab+samsung@kernel.org>
drivers/media/platform/s5p-jpeg/jpeg-hw-exynos3250.c

index 0974b9a7a584fb85f6aa268257264f995b5baef3..0861842b2dfc1f488fd38b87c7ca17e0e3038750 100644 (file)
@@ -425,9 +425,9 @@ unsigned int exynos3250_jpeg_get_int_status(void __iomem *regs)
 }
 
 void exynos3250_jpeg_clear_int_status(void __iomem *regs,
-                                               unsigned int value)
+                                     unsigned int value)
 {
-       return writel(value, regs + EXYNOS3250_JPGINTST);
+       writel(value, regs + EXYNOS3250_JPGINTST);
 }
 
 unsigned int exynos3250_jpeg_operating(void __iomem *regs)