]> git.baikalelectronics.ru Git - kernel.git/commit
media: staging: media/atomisp: use max() impl
authorKarthik Alapati <mail@karthek.com>
Wed, 22 Jun 2022 16:39:00 +0000 (17:39 +0100)
committerMauro Carvalho Chehab <mchehab@kernel.org>
Fri, 8 Jul 2022 16:47:54 +0000 (17:47 +0100)
commitd09fc00e70e4cb6e365e1d7bd97ec15aa3e884fd
tree428d7888d4eec2803c3229756ee4a2544bd82ee4
parentd40df849cd6ecf85e22dc421cd41d71038d78cad
media: staging: media/atomisp: use max() impl

fix a coccinelle warning by replacing opencoded max()
implementation with max()

WARNING opportunity for max()

Link: https://lore.kernel.org/linux-media/YrNFpF2qvTxpZP8e@karthik-strix-linux.karthek.com
Signed-off-by: Karthik Alapati <mail@karthek.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@kernel.org>
drivers/staging/media/atomisp/pci/runtime/frame/src/frame.c