From patchwork Tue Apr 25 22:43:50 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Mark Greer X-Patchwork-Id: 9699989 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 A769A60245 for ; Tue, 25 Apr 2017 22:44:09 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 9DA5D21E5A for ; Tue, 25 Apr 2017 22:44:09 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 928B02846B; Tue, 25 Apr 2017 22:44:09 +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 3ADFA21E5A for ; Tue, 25 Apr 2017 22:44:09 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1953199AbdDYWoI (ORCPT ); Tue, 25 Apr 2017 18:44:08 -0400 Received: from out4-smtp.messagingengine.com ([66.111.4.28]:33015 "EHLO out4-smtp.messagingengine.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1953164AbdDYWn6 (ORCPT ); Tue, 25 Apr 2017 18:43:58 -0400 Received: from compute3.internal (compute3.nyi.internal [10.202.2.43]) by mailout.nyi.internal (Postfix) with ESMTP id 1616121BC4; Tue, 25 Apr 2017 18:43:58 -0400 (EDT) Received: from frontend1 ([10.202.2.160]) by compute3.internal (MEProxy); Tue, 25 Apr 2017 18:43:58 -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=BeydsZ7dX3Z7PwL69tZ ggsBi+G1Ol2HwfHZWlmfLbtp0itXM+y5QzXmCJjIMpuAIxkz2MdfpI7cVzum8CQ/ gfzd5dqrqc/9QvXZrPgtrerprvzAhJB/rplSR/soswFIWESvkppTg/xgokklcon+ h3OFd7ezyQNFcnSxUEnNgSDQ= 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=XvJCECFJdOiWRtuurNCiQ9hQgPH6PoSckKH8wwwY4d0JTYckjIQrXWtcG bsEKwOeLVmUxTtRRADtzdv7ojdaujoXrMhilNwCqpbW0HQ7QaIZazcYjqb3PEeMy 1MUfJRM4sHzhUPAyS80fMplMMcCOv8yyiYDseEfuKSECqougmLUu6T9kUg1Vdjts Inle2fUq/Bg5jd2U6P3qq0agruQjqO9LGqqy3xNnSkK4S6meCe8V4XP4SZvhBjZ3 FXzQE4krJPYRZybbH7EBXqOR7pitOnc1xT3MZkSEnYcblFQyG+uLT+jiJm+M3qKP QNCOULEJO2CFlWA7UkhwZqppj5etQ== X-ME-Sender: X-Sasl-enc: /xldHFObsfxg6jB61cNa+n52ZoWpB7W1ZRMIRjfa7dJL 1493160237 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 CF4297E320; Tue, 25 Apr 2017 18:43:57 -0400 (EDT) Received: from blue.animalcreek.com (localhost [127.0.0.1]) by blue.animalcreek.com (Postfix) with ESMTP id 436CCA222E6; Tue, 25 Apr 2017 15:43:57 -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 v5 3/9] NFC: trf7970a: Fix inaccurate comment in trf7970a_probe() Date: Tue, 25 Apr 2017 15:43:50 -0700 Message-Id: <20170425224356.11498-4-mgreer@animalcreek.com> X-Mailer: git-send-email 2.12.0 In-Reply-To: <20170425224356.11498-1-mgreer@animalcreek.com> References: <20170425224356.11498-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");