diff mbox series

drm/aperture: Fix some kerneldoc comments

Message ID 20220905162241.391226-1-thierry.reding@gmail.com (mailing list archive)
State New, archived
Headers show
Series drm/aperture: Fix some kerneldoc comments | expand

Commit Message

Thierry Reding Sept. 5, 2022, 4:22 p.m. UTC
From: Thierry Reding <treding@nvidia.com>

Reword some kerneldoc comments for the DRM aperture handling code.

Signed-off-by: Thierry Reding <treding@nvidia.com>
---
 drivers/gpu/drm/drm_aperture.c | 10 +++++-----
 1 file changed, 5 insertions(+), 5 deletions(-)

Comments

Thomas Zimmermann Sept. 7, 2022, 7:56 a.m. UTC | #1
Hi

Am 05.09.22 um 18:22 schrieb Thierry Reding:
> From: Thierry Reding <treding@nvidia.com>
> 
> Reword some kerneldoc comments for the DRM aperture handling code.
> 
> Signed-off-by: Thierry Reding <treding@nvidia.com>

Acked-by: Thomas Zimmermann <tzimmermann@suse.de>

Thanks!

> ---
>   drivers/gpu/drm/drm_aperture.c | 10 +++++-----
>   1 file changed, 5 insertions(+), 5 deletions(-)
> 
> diff --git a/drivers/gpu/drm/drm_aperture.c b/drivers/gpu/drm/drm_aperture.c
> index fdb7d5c17ba1..3b8fdeeafd53 100644
> --- a/drivers/gpu/drm/drm_aperture.c
> +++ b/drivers/gpu/drm/drm_aperture.c
> @@ -74,7 +74,7 @@
>    * given framebuffer memory. Ownership of the framebuffer memory is achieved
>    * by calling devm_aperture_acquire_from_firmware(). On success, the driver
>    * is the owner of the framebuffer range. The function fails if the
> - * framebuffer is already by another driver. See below for an example.
> + * framebuffer is already owned by another driver. See below for an example.
>    *
>    * .. code-block:: c
>    *
> @@ -112,7 +112,7 @@
>    *
>    * The generic driver is now subject to forced removal by other drivers. This
>    * only works for platform drivers that support hot unplug.
> - * When a driver calls drm_aperture_remove_conflicting_framebuffers() et al
> + * When a driver calls drm_aperture_remove_conflicting_framebuffers() et al.
>    * for the registered framebuffer range, the aperture helpers call
>    * platform_device_unregister() and the generic driver unloads itself. It
>    * may not access the device's registers, framebuffer memory, ROM, etc
> @@ -164,7 +164,7 @@ EXPORT_SYMBOL(devm_aperture_acquire_from_firmware);
>    * @primary: also kick vga16fb if present
>    * @req_driver: requesting DRM driver
>    *
> - * This function removes graphics device drivers which use memory range described by
> + * This function removes graphics device drivers which use the memory range described by
>    * @base and @size.
>    *
>    * Returns:
> @@ -182,8 +182,8 @@ EXPORT_SYMBOL(drm_aperture_remove_conflicting_framebuffers);
>    * @pdev: PCI device
>    * @req_driver: requesting DRM driver
>    *
> - * This function removes graphics device drivers using memory range configured
> - * for any of @pdev's memory bars. The function assumes that PCI device with
> + * This function removes graphics device drivers using the memory range configured
> + * for any of @pdev's memory bars. The function assumes that a PCI device with
>    * shadowed ROM drives a primary display and so kicks out vga16fb.
>    *
>    * Returns:
diff mbox series

Patch

diff --git a/drivers/gpu/drm/drm_aperture.c b/drivers/gpu/drm/drm_aperture.c
index fdb7d5c17ba1..3b8fdeeafd53 100644
--- a/drivers/gpu/drm/drm_aperture.c
+++ b/drivers/gpu/drm/drm_aperture.c
@@ -74,7 +74,7 @@ 
  * given framebuffer memory. Ownership of the framebuffer memory is achieved
  * by calling devm_aperture_acquire_from_firmware(). On success, the driver
  * is the owner of the framebuffer range. The function fails if the
- * framebuffer is already by another driver. See below for an example.
+ * framebuffer is already owned by another driver. See below for an example.
  *
  * .. code-block:: c
  *
@@ -112,7 +112,7 @@ 
  *
  * The generic driver is now subject to forced removal by other drivers. This
  * only works for platform drivers that support hot unplug.
- * When a driver calls drm_aperture_remove_conflicting_framebuffers() et al
+ * When a driver calls drm_aperture_remove_conflicting_framebuffers() et al.
  * for the registered framebuffer range, the aperture helpers call
  * platform_device_unregister() and the generic driver unloads itself. It
  * may not access the device's registers, framebuffer memory, ROM, etc
@@ -164,7 +164,7 @@  EXPORT_SYMBOL(devm_aperture_acquire_from_firmware);
  * @primary: also kick vga16fb if present
  * @req_driver: requesting DRM driver
  *
- * This function removes graphics device drivers which use memory range described by
+ * This function removes graphics device drivers which use the memory range described by
  * @base and @size.
  *
  * Returns:
@@ -182,8 +182,8 @@  EXPORT_SYMBOL(drm_aperture_remove_conflicting_framebuffers);
  * @pdev: PCI device
  * @req_driver: requesting DRM driver
  *
- * This function removes graphics device drivers using memory range configured
- * for any of @pdev's memory bars. The function assumes that PCI device with
+ * This function removes graphics device drivers using the memory range configured
+ * for any of @pdev's memory bars. The function assumes that a PCI device with
  * shadowed ROM drives a primary display and so kicks out vga16fb.
  *
  * Returns: