media: ov5645: Use v4l2_find_nearest_size
authorTodor Tomov <todor.tomov@linaro.org>
Wed, 21 Mar 2018 08:42:36 +0000 (04:42 -0400)
committerMauro Carvalho Chehab <mchehab@s-opensource.com>
Wed, 4 Apr 2018 10:12:53 +0000 (06:12 -0400)
commit5b81c53c4996c4382f8ea85c1706152c9e5af5c7
treead83f727c19662dfcec08dcf04688d293ec1abe7
parent06fe932307d58108a11c3e603517dd2a73a57b80
media: ov5645: Use v4l2_find_nearest_size

Use v4l2_find_nearest_size instead of a driver specific function to find
nearest matching size.

Signed-off-by: Todor Tomov <todor.tomov@linaro.org>
Signed-off-by: Sakari Ailus <sakari.ailus@linux.intel.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
drivers/media/i2c/ov5645.c