X-Git-Url: http://drtracing.org/?a=blobdiff_plain;f=Documentation%2Fmedia%2Fuapi%2Fcec%2Fcec-func-close.rst;h=bb94e435891072f329e68d180a48bd8422839e27;hb=706f8a9975cb8889742d1f606ff466205ed29805;hp=11f083602792aa772e5e6c736b461a0530a835fe;hpb=21c62694499800f74def88edfbd5dcd91c492b79;p=deliverable%2Flinux.git diff --git a/Documentation/media/uapi/cec/cec-func-close.rst b/Documentation/media/uapi/cec/cec-func-close.rst index 11f083602792..bb94e4358910 100644 --- a/Documentation/media/uapi/cec/cec-func-close.rst +++ b/Documentation/media/uapi/cec/cec-func-close.rst @@ -32,8 +32,8 @@ Arguments Description =========== -Note: this documents the proposed CEC API. This API is not yet finalized -and is currently only available as a staging kernel module. +.. note:: This documents the proposed CEC API. This API is not yet finalized + and is currently only available as a staging kernel module. Closes the cec device. Resources associated with the file descriptor are freed. The device configuration remain unchanged. @@ -45,5 +45,5 @@ Return Value :c:func:`close()` returns 0 on success. On error, -1 is returned, and ``errno`` is set appropriately. Possible error codes are: -EBADF +``EBADF`` ``fd`` is not a valid open file descriptor.