media: video-i2c: use V4L2_FRACT_COMPARE
authorAkinobu Mita <akinobu.mita@gmail.com>
Sat, 15 Jun 2019 15:00:57 +0000 (11:00 -0400)
committerMauro Carvalho Chehab <mchehab+samsung@kernel.org>
Fri, 21 Jun 2019 21:13:58 +0000 (17:13 -0400)
commit94954bb709c998aeda73be42bb18a7911b6413b4
tree9d1cbe45d56e746d8db6201dbc9e44ce73781bf1
parenteef4d8e9f06dd06496ea82400f26379c4de8797c
media: video-i2c: use V4L2_FRACT_COMPARE

Use V4L2_FRACT_COMPARE to check whether two v4l2_fract structs are equal.

Cc: Matt Ranostay <matt.ranostay@konsulko.com>
Cc: Sakari Ailus <sakari.ailus@linux.intel.com>
Cc: Hans Verkuil <hverkuil@xs4all.nl>
Signed-off-by: Akinobu Mita <akinobu.mita@gmail.com>
Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>
Signed-off-by: Mauro Carvalho Chehab <mchehab+samsung@kernel.org>
drivers/media/i2c/video-i2c.c