From patchwork Sun May 14 20:28:25 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Alexander Sverdlin X-Patchwork-Id: 9725917 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 DE2EE60231 for ; Sun, 14 May 2017 20:29:06 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id CDD0328823 for ; Sun, 14 May 2017 20:29:06 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id BE9CE28878; Sun, 14 May 2017 20:29:06 +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=-6.3 required=2.0 tests=BAYES_00, DKIM_ADSP_CUSTOM_MED, DKIM_SIGNED, FREEMAIL_FROM, RCVD_IN_DNSWL_HI, RCVD_IN_SORBS_SPAM, T_DKIM_INVALID autolearn=ham version=3.3.1 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 6940C28823 for ; Sun, 14 May 2017 20:29:06 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1759357AbdENU3F (ORCPT ); Sun, 14 May 2017 16:29:05 -0400 Received: from mail-wm0-f66.google.com ([74.125.82.66]:33055 "EHLO mail-wm0-f66.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751580AbdENU3F (ORCPT ); Sun, 14 May 2017 16:29:05 -0400 Received: by mail-wm0-f66.google.com with SMTP id y10so23862076wmh.0 for ; Sun, 14 May 2017 13:29:04 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id; bh=USQxsdhb3fF2BHryx8QugNp8hiVU7JWOXAEyP1wSt0A=; b=q5QSctL/0BZcH8CSyWaIFn7yonc4QI7bcdAqq+Q+aRzCEm6MKLXjtIg62dmrYSJG8L YKt4FNeJ+Esav6cgbmNZ7VmrtHOTHkuDAZC0HkrPGIyXhp8RC523BiKy2IAetpcPeBV4 mYSCAItKk+y1BEO3aZNvjssSNfANTl+gZ7b3qz4GyvjCNN7F5AuGTCulIrMzZzxL3RoU 3dWxuuBPbWhevGoMGR8qkrybG3u0Vz4yyrpw63V3WgSR5DhAnjTlDXyw3hVG5PokngoR jSCXHgITQ1iVwRfB+cXN4BIbyOSnwdxlTjkrXRSmxm4G+5ucDGcq/wFXll8v04ghbcV1 d3Uw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id; bh=USQxsdhb3fF2BHryx8QugNp8hiVU7JWOXAEyP1wSt0A=; b=A5i8njwHjMTw6eSqpSct3p/iKzGMG95cS0mo6deayM6eT/pU6nZCmK1W3CE1x54btI 74XKURkeGl2plUM285ZEB6r2evt0jvPJdxMVIyIdcd/E4DNiYlLhAj/bCGO/Cb6apIjl 1ADpAqmmPzuNX8emFgPFkpCseRnMIQXH6/cU2n/m/ob26Ur/ShaTHjYNt2cIeOeQiwAT gBF8P89JMcqLOe3alc3enXtY0ob7QUkQR7CgNz46iUXD8nIGjyCsKPjA5kZmdJPVnteb NDnGpYxPwiFfAPWx2SiOPPIs06kNZ0pJ7mjXVkbDM584uIivTe1BYpqeyACyUmhcgqaH YYcg== X-Gm-Message-State: AODbwcAoBS6Z3MIMcZihiRsgTS/oxOQSldADgX0EevCBOHfU70poWFjK e59sKAfSUaaUhw== X-Received: by 10.25.56.22 with SMTP id f22mr946809lfa.41.1494793743747; Sun, 14 May 2017 13:29:03 -0700 (PDT) Received: from giga1.localdomain ([195.245.52.203]) by smtp.gmail.com with ESMTPSA id n79sm1818949lfi.53.2017.05.14.13.29.02 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sun, 14 May 2017 13:29:02 -0700 (PDT) From: Alexander Sverdlin To: Russell King , linux-clk@vger.kernel.org Cc: Alexander Sverdlin , trivial@kernel.org Subject: [PATCH] clk: Fix comment to clk_get_parent Date: Sun, 14 May 2017 22:28:25 +0200 Message-Id: <20170514202825.20389-1-alexander.sverdlin@gmail.com> X-Mailer: git-send-email 2.12.2 Sender: linux-clk-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-clk@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP There is no single implementation of clk_get_parent, which returns ERR_PTR(). Therefore, fix the comment in common header linux/clk.h, which claims otherwise. Signed-off-by: Alexander Sverdlin --- include/linux/clk.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/linux/clk.h b/include/linux/clk.h index 024cd07870d0..93b1857085fa 100644 --- a/include/linux/clk.h +++ b/include/linux/clk.h @@ -417,7 +417,7 @@ int clk_set_parent(struct clk *clk, struct clk *parent); * @clk: clock source * * Returns struct clk corresponding to parent clock source, or - * valid IS_ERR() condition containing errno. + * NULL on error. */ struct clk *clk_get_parent(struct clk *clk);