From patchwork Mon Jun 15 11:31:33 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Geert Uytterhoeven X-Patchwork-Id: 484223 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by ozlabs.org (Postfix) with ESMTP id D5BEA140216 for ; Mon, 15 Jun 2015 21:31:36 +1000 (AEST) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753425AbbFOLbf (ORCPT ); Mon, 15 Jun 2015 07:31:35 -0400 Received: from xavier.telenet-ops.be ([195.130.132.52]:37887 "EHLO xavier.telenet-ops.be" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753183AbbFOLbf (ORCPT ); Mon, 15 Jun 2015 07:31:35 -0400 Received: from ayla.of.borg ([84.193.93.87]) by xavier.telenet-ops.be with bizsmtp id gbXZ1q00e1t5w8s01bXZNg; Mon, 15 Jun 2015 13:31:34 +0200 Received: from ramsan.of.borg ([192.168.97.29] helo=ramsan) by ayla.of.borg with esmtp (Exim 4.82) (envelope-from ) id 1Z4Sc1-0006sX-KX; Mon, 15 Jun 2015 13:31:33 +0200 Received: from geert by ramsan with local (Exim 4.82) (envelope-from ) id 1Z4Sc2-0007uI-56; Mon, 15 Jun 2015 13:31:34 +0200 From: Geert Uytterhoeven To: Linus Walleij , Alexandre Courbot Cc: linux-gpio@vger.kernel.org, Geert Uytterhoeven Subject: [PATCH] gpio: Remove double "base" in comment Date: Mon, 15 Jun 2015 13:31:33 +0200 Message-Id: <1434367893-30361-1-git-send-email-geert+renesas@glider.be> X-Mailer: git-send-email 1.9.1 Sender: linux-gpio-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-gpio@vger.kernel.org Signed-off-by: Geert Uytterhoeven --- Perhaps this can still be fixed in commit af6c235d1a5c1129 ("gpio: discourage passing base to gpio_chip")? --- include/linux/gpio/driver.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/linux/gpio/driver.h b/include/linux/gpio/driver.h index cc7ec129b329efb9..c8393cd4d44f2d87 100644 --- a/include/linux/gpio/driver.h +++ b/include/linux/gpio/driver.h @@ -45,7 +45,7 @@ struct seq_file; * @base: identifies the first GPIO number handled by this chip; * or, if negative during registration, requests dynamic ID allocation. * DEPRECATION: providing anything non-negative and nailing the base - * base offset of GPIO chips is deprecated. Please pass -1 as base to + * offset of GPIO chips is deprecated. Please pass -1 as base to * let gpiolib select the chip base in all possible cases. We want to * get rid of the static GPIO number space in the long run. * @ngpio: the number of GPIOs handled by this controller; the last GPIO