Commit de6dddff authored by Mauro Carvalho Chehab's avatar Mauro Carvalho Chehab Committed by Mauro Carvalho Chehab

media: s5p-jpeg: don't return a value on a void function

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: default avatarMauro Carvalho Chehab <mchehab@s-opensource.com>
Reviewed-by: default avatarJacek Anaszewski <jacek.anaszewski@gmail.com>
Acked-by: default avatarAndrzej Pietrasiewicz <andrzej.p@samsung.com>
Signed-off-by: default avatarMauro Carvalho Chehab <mchehab+samsung@kernel.org>
parent 5ef76cb7
......@@ -427,7 +427,7 @@ unsigned int exynos3250_jpeg_get_int_status(void __iomem *regs)
void exynos3250_jpeg_clear_int_status(void __iomem *regs,
unsigned int value)
{
return writel(value, regs + EXYNOS3250_JPGINTST);
writel(value, regs + EXYNOS3250_JPGINTST);
}
unsigned int exynos3250_jpeg_operating(void __iomem *regs)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment