]> 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)
commitc12a92d7bdf4809b133328e821707aa60ef9134d
tree428d7888d4eec2803c3229756ee4a2544bd82ee4
parentd42aa8edbc73a1ec519952f4876a0e8e55a2e1f6
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