From patchwork Sun Oct 9 17:07:00 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Grazvydas Ignotas X-Patchwork-Id: 9368609 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id 0EBE5607D2 for ; Sun, 9 Oct 2016 17:07:11 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id F02BA28A3A for ; Sun, 9 Oct 2016 17:07:10 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id E3C7828A48; Sun, 9 Oct 2016 17:07:10 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-4.1 required=2.0 tests=BAYES_00, DKIM_ADSP_CUSTOM_MED, DKIM_SIGNED, FREEMAIL_FROM, RCVD_IN_DNSWL_MED, T_DKIM_INVALID autolearn=ham version=3.3.1 Received: from gabe.freedesktop.org (gabe.freedesktop.org [131.252.210.177]) (using TLSv1.2 with cipher DHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id 77EDC28A3A for ; Sun, 9 Oct 2016 17:07:10 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id B92F86E0B7; Sun, 9 Oct 2016 17:07:07 +0000 (UTC) X-Original-To: dri-devel@lists.freedesktop.org Delivered-To: dri-devel@lists.freedesktop.org Received: from mail-lf0-x242.google.com (mail-lf0-x242.google.com [IPv6:2a00:1450:4010:c07::242]) by gabe.freedesktop.org (Postfix) with ESMTPS id E68AC6E0B7 for ; Sun, 9 Oct 2016 17:07:05 +0000 (UTC) Received: by mail-lf0-x242.google.com with SMTP id l131so6118386lfl.0 for ; Sun, 09 Oct 2016 10:07:05 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:cc:subject:date:message-id; bh=XQ1uKFS0K2/8K56Mazt7VpCkIP5hAr4OXYehYW/nTjc=; b=G5vY9fLBf5QoHvQVMF09VIflnArtT1vP6BYCLL/DdI/jXaQfz+/eFyRjRO/8gH+swy hxQuGUDR6fpXHiEZUiZo6qSr9ZYKQjYcn6MEHfFi9Tyl43/aZXc2g+xRCAiNmhR3/qV5 qdMnH52Bctoy+vhbeitpIPxrxOIqnVnRN77033wD004eftqSMuuYCQMGqTmM7eJ8hnwU tbyxXjs65BPAC7FtRwVESV+5Ux6vZrFdOaxyAiJxqUfW2phP92c0EUh86MpFfZcQSILr Pqhw8e77y3BxdwfGAuY0MBezJb9OKsSCJH3fyCjFSr0AQAbHOsjMbdoKVZ1/bp2lAbvp wcIg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:cc:subject:date:message-id; bh=XQ1uKFS0K2/8K56Mazt7VpCkIP5hAr4OXYehYW/nTjc=; b=Oq12y2hhgsM5dQlTpyyeOpfEftJNINkSZmmy7MwWfh6EzqLdML7OULCaXmOIJ1pvb5 AkFSz6bz/ZA2Gk8LD835ohjfBeDP+CSr/LSfgXa8ATB7+bNJqgHOyUZwnnMG3HJAvBe8 05k9WUcMNShwV9z8bAsFvn0ux3iyR5uoYAYs0dalP9kinv8UHUWZbWkTJMKxUXZOcQBx k0WS/NtwNhLzkZdG/mDavpsInI+nL11FKI+vBeV4UqsSlICgKqo3oa7jvbVBEjcL1+JO UCyVOzTde794OmLjsdGzk//GErqWBBsreViEWKS5s74xz259UOLb7DTqZoB7Jg0jor4N YIAg== X-Gm-Message-State: AA6/9RlNGVFNcX1GiZC29OpaZznyX5ikbVv3UJiWCVrMU8Lsw8oUWhpqLDfQ9hyg8Q4zxg== X-Received: by 10.25.203.141 with SMTP id b135mr11816296lfg.169.1476032824103; Sun, 09 Oct 2016 10:07:04 -0700 (PDT) Received: from localhost.localdomain ([5.20.238.37]) by smtp.gmail.com with ESMTPSA id u68sm5172354lfg.31.2016.10.09.10.07.03 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Sun, 09 Oct 2016 10:07:03 -0700 (PDT) From: Grazvydas Ignotas To: dri-devel@lists.freedesktop.org Subject: [PATCH] drm: use the right function name in documentation Date: Sun, 9 Oct 2016 20:07:00 +0300 Message-Id: <1476032820-3275-1-git-send-email-notasas@gmail.com> X-Mailer: git-send-email 2.7.4 X-BeenThere: dri-devel@lists.freedesktop.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: Direct Rendering Infrastructure - Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" X-Virus-Scanned: ClamAV using ClamSMTP There is no late_unregister(), it looks like the comment meant late_register(). Also fix a typo while at it. Signed-off-by: Grazvydas Ignotas --- include/drm/drm_connector.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/include/drm/drm_connector.h b/include/drm/drm_connector.h index 51a15de..43c5cd7 100644 --- a/include/drm/drm_connector.h +++ b/include/drm/drm_connector.h @@ -345,7 +345,7 @@ struct drm_connector_funcs { * * This optional hook should be used to unregister the additional * userspace interfaces attached to the connector from - * late_unregister(). It is called from drm_connector_unregister(), + * late_register(). It is called from drm_connector_unregister(), * early in the driver unload sequence to disable userspace access * before data structures are torndown. */ @@ -365,7 +365,7 @@ struct drm_connector_funcs { * @atomic_duplicate_state: * * Duplicate the current atomic state for this connector and return it. - * The core and helpers gurantee that any atomic state duplicated with + * The core and helpers guarantee that any atomic state duplicated with * this hook and still owned by the caller (i.e. not transferred to the * driver by calling ->atomic_commit() from struct * &drm_mode_config_funcs) will be cleaned up by calling the