]> git.baikalelectronics.ru Git - kernel.git/commit
media: atomisp-ov2680: Remove the ov2680_res and N_RES global variables
authorHans de Goede <hdegoede@redhat.com>
Sun, 7 Nov 2021 17:15:42 +0000 (17:15 +0000)
committerMauro Carvalho Chehab <mchehab+huawei@kernel.org>
Mon, 15 Nov 2021 08:11:54 +0000 (08:11 +0000)
commit02dd0558849e9a8c71f4182c60ce71f7c0a800c0
treee1e7064737542818ecdeef7b84ddb3d7a133ace4
parentb92c0539ac980dc8d8f83ed843ef29a073ff6a2b
media: atomisp-ov2680: Remove the ov2680_res and N_RES global variables

The ov2680_res and N_RES global variables are just hardcoded as aliases
for ov2680_res_preview and N_RES_PREVIEW, remove them.

Link: https://lore.kernel.org/linux-media/20211107171549.267583-5-hdegoede@redhat.com
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
drivers/staging/media/atomisp/i2c/atomisp-ov2680.c
drivers/staging/media/atomisp/i2c/ov2680.h