mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-30 03:27:44 -04:00
[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:
parent
60266185d7
commit
b6e4ca8129
2 changed files with 22 additions and 7 deletions
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Reference in a new issue