[media] v4l2-dv-timings: use swap() in v4l2_calc_aspect_ratio()
commitfd7524294ccaa6168593042121e3bbd26a529fd5
authorFabian Frederick <fabf@skynet.be>
Wed, 10 Jun 2015 16:32:33 +0000 (10 13:32 -0300)
committerMauro Carvalho Chehab <mchehab@osg.samsung.com>
Mon, 6 Jul 2015 11:25:48 +0000 (6 08:25 -0300)
treeed7cb146b6da1eaca62479b5e48d51dfcb2dea56
parentcfcffe397fae05d6193bbb0dc87a7148323bf3fb
[media] v4l2-dv-timings: use swap() in v4l2_calc_aspect_ratio()

Use kernel.h macro definition.

Thanks to Julia Lawall for Coccinelle scripting support.

Signed-off-by: Fabian Frederick <fabf@skynet.be>
Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@osg.samsung.com>
drivers/media/v4l2-core/v4l2-dv-timings.c