From patchwork Wed Dec 9 13:29:37 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Linus Walleij X-Patchwork-Id: 58045 Delivered-To: patch@linaro.org Received: by 10.112.147.194 with SMTP id tm2csp669070lbb; Wed, 9 Dec 2015 05:29:49 -0800 (PST) X-Received: by 10.66.62.137 with SMTP id y9mr7975055par.123.1449667789550; Wed, 09 Dec 2015 05:29:49 -0800 (PST) Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id ny6si12718088pab.215.2015.12.09.05.29.49; Wed, 09 Dec 2015 05:29:49 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-gpio-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-gpio-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-gpio-owner@vger.kernel.org; dkim=neutral (body hash did not verify) header.i=@linaro-org.20150623.gappssmtp.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754108AbbLIN3t (ORCPT + 4 others); Wed, 9 Dec 2015 08:29:49 -0500 Received: from mail-lb0-f181.google.com ([209.85.217.181]:35212 "EHLO mail-lb0-f181.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753984AbbLIN3s (ORCPT ); Wed, 9 Dec 2015 08:29:48 -0500 Received: by lbpu9 with SMTP id u9so29785397lbp.2 for ; Wed, 09 Dec 2015 05:29:47 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro-org.20150623.gappssmtp.com; s=20150623; h=from:to:cc:subject:date:message-id; bh=JWuyy3OUTRGh9YEZGQ3NmOEm/q/Uw0eatQpgsBU0IQs=; b=hvnDKTr1RV475c7c9LrwinzMVMoRaAjFMbBbmoCaOBvY6azNLJAel6iTIS9NnN3Hgo UhgZzsRECCjBy6IBwRP2dPXuVT4k4NaOo9UUGI24DV9s7lHzGXHBtv8DnUwQZzcQZdyH 5trGyZfRFqNMucd659SZxs+wL3J/Ggtc/LB7tmdoN56IqV+o7f2izbxkuXVe1AO2AXGj /M3ViHxeYOi7ohtHYhgWJTMQCCJ/uuTBQAXSvAQRxtxL5T4SA/CH49HLzNBONftz35+H AZJ1wMmq4HvihqFkFlX0b1/xxAReyfrtGWhrCzsj9HkhZi8bcjTdsoBK+KsRDd2GuD6j CrtA== 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=JWuyy3OUTRGh9YEZGQ3NmOEm/q/Uw0eatQpgsBU0IQs=; b=AGA31MFttDdGPKoktrCQEn6o3EpOPh9djj3an8iBW6bKrCXIv4DN85CBd1XWw/rqtZ 80EIKPyiT+glrtW76ENz/EVn/frcuP83eJW1X2pJ41jjZ/y8I9KcMxzZD2lCrm+WBw+p rbU8SnNenbum+B1/51Vqw98iImRy9f8Df4mpjzdCyvVor0Ly4QK/1EfCySYTVAleXi4/ 52T3YOArO/CYdAfWmOklv3xf+u0bQMnIkzsjWg5izNzwfGFrMH5Dxtsm+qgd7kLukgk/ vbG6S0d68FMhRL6Pylsxequddg51cvJ5ASiQjUxqcVeCILinaZgHE7Gn03trLbwTqUOy i4Ag== X-Gm-Message-State: ALoCoQn+nRTj3g/GBRsLd/pO9uPgKO+BlhC1dUGAkT1NLG6BCMu27LR7BTgRYXd6FvMGRdbXjC3j525tGUTfH+CypzTFAz+pDg== X-Received: by 10.112.170.167 with SMTP id an7mr2309074lbc.37.1449667787134; Wed, 09 Dec 2015 05:29:47 -0800 (PST) Received: from localhost.localdomain ([85.235.10.227]) by smtp.gmail.com with ESMTPSA id j204sm1400686lfd.16.2015.12.09.05.29.43 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 09 Dec 2015 05:29:46 -0800 (PST) From: Linus Walleij To: linux-gpio@vger.kernel.org, Johan Hovold , Alexandre Courbot , Michael Welling , Markus Pargmann Cc: Linus Walleij Subject: [PATCH 089/182] gpio: fix misleading comment Date: Wed, 9 Dec 2015 14:29:37 +0100 Message-Id: <1449667777-1776-1-git-send-email-linus.walleij@linaro.org> X-Mailer: git-send-email 2.4.3 Sender: linux-gpio-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-gpio@vger.kernel.org We are not relying on container_of() now that we have gpiochip_get_data(). Signed-off-by: Linus Walleij --- drivers/gpio/gpiolib.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) -- 2.4.3 -- To unsubscribe from this list: send the line "unsubscribe linux-gpio" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html diff --git a/drivers/gpio/gpiolib.c b/drivers/gpio/gpiolib.c index 6d40cf9426d3..c458317a22c7 100644 --- a/drivers/gpio/gpiolib.c +++ b/drivers/gpio/gpiolib.c @@ -684,7 +684,7 @@ static void gpiochip_irqchip_remove(struct gpio_chip *gpiochip) * gpiochip, providing an irq domain to translate the local IRQs to * global irqs in the gpiolib core, and making sure that the gpiochip * is passed as chip data to all related functions. Driver callbacks - * need to use container_of() to get their local state containers back + * need to use gpiochip_get_data() to get their local state containers back * from the gpiochip passed as chip data. An irqdomain will be stored * in the gpiochip that shall be used by the driver to handle IRQ number * translation. The gpiochip will need to be initialized and registered