summaryrefslogtreecommitdiffstats
path: root/drivers/media/media-device.c
diff options
context:
space:
mode:
authorMauro Carvalho Chehab <mchehab@osg.samsung.com>2015-12-13 11:36:58 +0100
committerMauro Carvalho Chehab <mchehab@osg.samsung.com>2016-01-11 15:19:13 +0100
commitb6e4ca8129ad65a0b1552586c1d42d2fd219661e (patch)
tree157421429da8296725c7a6e0c04111aa2a9f753e /drivers/media/media-device.c
parent[media] media-entity.h: Document some ancillary functions (diff)
downloadlinux-b6e4ca8129ad65a0b1552586c1d42d2fd219661e.tar.xz
linux-b6e4ca8129ad65a0b1552586c1d42d2fd219661e.zip
[media] media-device.h: document the last functions
Add kernel-doc documentation for media_device_get_devres and media_device_find_devres. Signed-off-by: Mauro Carvalho Chehab <mchehab@osg.samsung.com>
Diffstat (limited to 'drivers/media/media-device.c')
-rw-r--r--drivers/media/media-device.c7
1 files changed, 0 insertions, 7 deletions
diff --git a/drivers/media/media-device.c b/drivers/media/media-device.c
index c12481c753a0..ca16bd3091bd 100644
--- a/drivers/media/media-device.c
+++ b/drivers/media/media-device.c
@@ -689,10 +689,6 @@ static void media_device_release_devres(struct device *dev, void *res)
{
}
-/*
- * media_device_get_devres() - get media device as device resource
- * creates if one doesn't exist
-*/
struct media_device *media_device_get_devres(struct device *dev)
{
struct media_device *mdev;
@@ -709,9 +705,6 @@ struct media_device *media_device_get_devres(struct device *dev)
}
EXPORT_SYMBOL_GPL(media_device_get_devres);
-/*
- * media_device_find_devres() - find media device as device resource
-*/
struct media_device *media_device_find_devres(struct device *dev)
{
return devres_find(dev, media_device_release_devres, NULL, NULL);