diff mbox

[1/2] drm/radeon: fix ATPX function documentation

Message ID 1351170541-22570-1-git-send-email-e-mail@date.by (mailing list archive)
State New, archived
Headers show

Commit Message

Igor Murzov Oct. 25, 2012, 1:09 p.m. UTC
Fix a copy&pasted documentation.

Signed-off-by: Igor Murzov <e-mail@date.by>
---
 drivers/gpu/drm/radeon/radeon_atpx_handler.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

Comments

Alex Deucher Oct. 25, 2012, 4:19 p.m. UTC | #1
On Thu, Oct 25, 2012 at 9:09 AM, Igor Murzov <e-mail@date.by> wrote:
> Fix a copy&pasted documentation.
>
> Signed-off-by: Igor Murzov <e-mail@date.by>

Thanks.  I've added this to my queue.

Alex

> ---
>  drivers/gpu/drm/radeon/radeon_atpx_handler.c | 4 ++--
>  1 file changed, 2 insertions(+), 2 deletions(-)
>
> diff --git a/drivers/gpu/drm/radeon/radeon_atpx_handler.c b/drivers/gpu/drm/radeon/radeon_atpx_handler.c
> index 37f6a90..15f5ded 100644
> --- a/drivers/gpu/drm/radeon/radeon_atpx_handler.c
> +++ b/drivers/gpu/drm/radeon/radeon_atpx_handler.c
> @@ -352,9 +352,9 @@ static int radeon_atpx_switchto(enum vga_switcheroo_client_id id)
>  }
>
>  /**
> - * radeon_atpx_switchto - switch to the requested GPU
> + * radeon_atpx_power_state - power down/up the requested GPU
>   *
> - * @id: GPU to switch to
> + * @id: GPU to power down/up
>   * @state: requested power state (0 = off, 1 = on)
>   *
>   * Execute the necessary ATPX function to power down/up the discrete GPU
> --
> 1.7.12.1
>
> _______________________________________________
> dri-devel mailing list
> dri-devel@lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/dri-devel
diff mbox

Patch

diff --git a/drivers/gpu/drm/radeon/radeon_atpx_handler.c b/drivers/gpu/drm/radeon/radeon_atpx_handler.c
index 37f6a90..15f5ded 100644
--- a/drivers/gpu/drm/radeon/radeon_atpx_handler.c
+++ b/drivers/gpu/drm/radeon/radeon_atpx_handler.c
@@ -352,9 +352,9 @@  static int radeon_atpx_switchto(enum vga_switcheroo_client_id id)
 }
 
 /**
- * radeon_atpx_switchto - switch to the requested GPU
+ * radeon_atpx_power_state - power down/up the requested GPU
  *
- * @id: GPU to switch to
+ * @id: GPU to power down/up
  * @state: requested power state (0 = off, 1 = on)
  *
  * Execute the necessary ATPX function to power down/up the discrete GPU