media: cec: integrate cec_validate_phys_addr() in cec-api.c
authorHans Verkuil <hans.verkuil@cisco.com>
Thu, 13 Sep 2018 07:36:29 +0000 (03:36 -0400)
committerMauro Carvalho Chehab <mchehab+samsung@kernel.org>
Mon, 24 Sep 2018 13:11:01 +0000 (09:11 -0400)
commite81bff39489a06384822bb38ce7a59f9e365bbe9
tree91a3d9df7135e08ce88abec0567e32c8318d5213
parentb915bf575d5b7774d0f22d57d6c143e07dcaade2
media: cec: integrate cec_validate_phys_addr() in cec-api.c

The cec_phys_addr_validate() function will be moved to V4L2,
so use a simplified variant of that function in cec-api.c.
cec now no longer calls cec_phys_addr_validate() and it can
be safely moved to V4L2.

Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
Cc: <stable@vger.kernel.org> # for v4.17 and up
Signed-off-by: Mauro Carvalho Chehab <mchehab+samsung@kernel.org>
drivers/media/cec/cec-api.c