[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 <[email protected]>
This commit is contained in:
Mauro Carvalho Chehab 2015-12-13 08:36:58 -02:00
commit b6e4ca8129
2 changed files with 22 additions and 7 deletions

View file

@ -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);