From patchwork Tue Apr 25 18:40:30 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Mark Greer X-Patchwork-Id: 9699383 X-Patchwork-Delegate: sameo@linux.intel.com 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 9CF29601D3 for ; Tue, 25 Apr 2017 18:40:55 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 8D135284DA for ; Tue, 25 Apr 2017 18:40:55 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 813F12857D; Tue, 25 Apr 2017 18:40:55 +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=-7.0 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, RCVD_IN_DNSWL_HI 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 14318284DA for ; Tue, 25 Apr 2017 18:40:55 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1948134AbdDYSkx (ORCPT ); Tue, 25 Apr 2017 14:40:53 -0400 Received: from out4-smtp.messagingengine.com ([66.111.4.28]:46029 "EHLO out4-smtp.messagingengine.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1176966AbdDYSko (ORCPT ); Tue, 25 Apr 2017 14:40:44 -0400 Received: from compute3.internal (compute3.nyi.internal [10.202.2.43]) by mailout.nyi.internal (Postfix) with ESMTP id 4A72021B39; Tue, 25 Apr 2017 14:40:43 -0400 (EDT) Received: from frontend1 ([10.202.2.160]) by compute3.internal (MEProxy); Tue, 25 Apr 2017 14:40:43 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=animalcreek.com; h=cc:date:from:in-reply-to:message-id:references:subject:to :x-me-sender:x-me-sender:x-sasl-enc:x-sasl-enc; s=mesmtp; bh=9U9 ylL2rcJQkMG5ign4oE8a4PHZmQoYzme3AHtmYwtE=; b=eDjv/PONusw5eEz8ruz 3LtVhW9yJwqYqvH+OJCyUhXqCbmU2au2qkO+Tap4E0QrBb45YehdSwsBg2+wRbSY wWZEA3Lk8t36U85YHmGygJhOrRrbbTSQ5AtQjKBUdjkOPLxeLaEHaC4Nv6PXzD/L Nez3MprNKClCE4ktZzCU5YHI= DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:date:from:in-reply-to:message-id :references:subject:to:x-me-sender:x-me-sender:x-sasl-enc :x-sasl-enc; s=fm1; bh=9U9ylL2rcJQkMG5ign4oE8a4PHZmQoYzme3AHtmYw tE=; b=VVOIaHjmmm1AVgNvEDOI4U5PvQIqaysXE6AiUTWWVclI6qsjRSw5EpnNu 4b1RZ4p4C7xS+T3T+mJrrH6nIMd8cuNq9KrpIv1XgStbPM0X+FVnDp6cqwwmuPrB CXrwAY1Nwl8G8KV5wLHKn5FBMFtUFRAonzOdN/4KVppZ/9oq3FkTJlOznln7GGcC UxAVwLhGc7QDXVtbMaQb6RkkzVpcojVgU9unGl0fTqKMt03olBwRgsGyfQIk5E5j M1Xk4ontUgC5vB6fAiagWvb5Scg99VclFVIi3Zyc4lIyv/9xT5Khpd15ZO7/+6tB xxZSVbsSt0I9gJmHuCLNtyltGH+RQ== X-ME-Sender: X-Sasl-enc: FSGktMZMkpFXVCsHXHsm3Xx4BiCV5E2JiMvjuRWVJfKa 1493145643 Received: from blue.animalcreek.com (ip68-2-86-89.ph.ph.cox.net [68.2.86.89]) by mail.messagingengine.com (Postfix) with ESMTPA id 009817E70C; Tue, 25 Apr 2017 14:40:43 -0400 (EDT) Received: from blue.animalcreek.com (localhost [127.0.0.1]) by blue.animalcreek.com (Postfix) with ESMTP id 42BB5A222E6; Tue, 25 Apr 2017 11:40:42 -0700 (MST) From: Mark Greer To: Samuel Ortiz Cc: linux-wireless@vger.kernel.org, linux-nfc@lists.01.org, devicetree@vger.kernel.org, Mark Greer Subject: [PATCH v4 3/9] NFC: trf7970a: Fix inaccurate comment in trf7970a_probe() Date: Tue, 25 Apr 2017 11:40:30 -0700 Message-Id: <20170425184036.1212-4-mgreer@animalcreek.com> X-Mailer: git-send-email 2.12.0 In-Reply-To: <20170425184036.1212-1-mgreer@animalcreek.com> References: <20170425184036.1212-1-mgreer@animalcreek.com> Organization: Animal Creek Technologies, Inc. Sender: linux-wireless-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-wireless@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP As of commit ce69b95ca4e4 ("NFC: Make EN2 pin optional in the TRF7970A driver"), only the GPIO for the 'EN' enable pin needs to be specified in the device tree so update the comments that says both 'EN' and 'EN2' must be specified. Signed-off-by: Mark Greer --- drivers/nfc/trf7970a.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/nfc/trf7970a.c b/drivers/nfc/trf7970a.c index 1a87525a88cd..5d5a8b0e57d4 100644 --- a/drivers/nfc/trf7970a.c +++ b/drivers/nfc/trf7970a.c @@ -2046,7 +2046,7 @@ static int trf7970a_probe(struct spi_device *spi) if (of_property_read_bool(np, "irq-status-read-quirk")) trf->quirks |= TRF7970A_QUIRK_IRQ_STATUS_READ; - /* There are two enable pins - both must be present */ + /* There are two enable pins - only EN must be present in the DT */ trf->en_gpio = of_get_named_gpio(np, "ti,enable-gpios", 0); if (!gpio_is_valid(trf->en_gpio)) { dev_err(trf->dev, "No EN GPIO property\n");