[media] media-device.h: fix compiler warning
authorHans Verkuil <hverkuil@xs4all.nl>
Fri, 26 Feb 2016 07:44:35 +0000 (04:44 -0300)
committerMauro Carvalho Chehab <mchehab@osg.samsung.com>
Wed, 2 Mar 2016 12:52:21 +0000 (09:52 -0300)
commit697fe725f37aaa5fb15f581bc6e5b588f5fc8f7b
tree51afb215a06b51661e177a59107065227c36390b
parentb64e10f3dfbfb2fdc21013b6b265a5e48cbb0071
[media] media-device.h: fix compiler warning

Fix these compiler warnings:

media-git/include/media/media-device.h: In function 'media_device_pci_init':
media-git/include/media/media-device.h:610:9: warning: 'return' with a value, in function returning void
  return NULL;
         ^
media-git/include/media/media-device.h: In function '__media_device_usb_init':
media-git/include/media/media-device.h:618:9: warning: 'return' with a value, in function returning void
  return NULL;
         ^

Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@osg.samsung.com>
include/media/media-device.h