Received: by 2002:a05:6a10:9848:0:0:0:0 with SMTP id x8csp4610135pxf; Tue, 23 Mar 2021 15:22:43 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzH6UKOWUN/R5NVur9vPKWOMLbAZE9BBfrRAu0F24JaWChryR0V2J7TL3e3mtPLbRLE8cXA X-Received: by 2002:a05:6402:13ce:: with SMTP id a14mr29353edx.365.1616538163539; Tue, 23 Mar 2021 15:22:43 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1616538163; cv=none; d=google.com; s=arc-20160816; b=hvaVkUpV2+xD5+hE9iR2FOlx5JpCwIJjMVSKWTdMtjcOL3mEEtoUzKiaRDJpBM4mQF WhoshlCXyFdqGWMC7msVLdW6BB00IxBuI9XQgWfNzle8/5/32vehzXY9II4s6m/gQLj+ UYNmoVAyVEvrcv8a0WNCbb+IdLjw+KUmvqjTX5a4Od+CE1MwpAQTuCa/zYpsKV37zCjo QMkYaukN+WglZe9NQrGnpt6wKJ7iLW5GznSHMfzSweB2RcNZ2fYRQBbndKADCgV5ZztG PFK79QFGbuTWQ4PmNC2sPvFGtI0guvjbbi9Cl6uH4iael5fCLcZL87E2F1dr3xUhEJye 9JuA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from:dkim-signature; bh=BH8l4rhqM3j+tO6C1MABX7MjnINoZWw3fSlsoKWejbk=; b=GCAQnqFJE642f7TmLLf2ICzdQHelvVKkzbpuwc1A3BcPR3LfwTw8M/Qhz90LA34Pxn bNz0CzC4oz5anqjVTJAzriouoGSDeeE/eVNhl2bz7mPdW/vxTqeZmw7R0Acm+iHAq7b0 YRuzCMPtYzdRsBz3xtEasVnGi2WLy9d4iRsgslWT8Kv/KCR2R24z/PQJ0WL9dfU3nKPG X7A3lTybL4dOlqTIopQrUsnJ5ctQfG11U9L9gBF+UCvwvzt74LUD+b/BGxkcUBIJqTH6 A0n/RJYLyvP8nMQ0BtvFAxzj3feKRXew2oBG1DHJMMrmOftns4q/7nD1vQlsa7xH9SLY K6TQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@infradead.org header.s=desiato.20200630 header.b="CKCciv/I"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id g16si211273ejf.96.2021.03.23.15.22.19; Tue, 23 Mar 2021 15:22:43 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@infradead.org header.s=desiato.20200630 header.b="CKCciv/I"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233909AbhCWWVA (ORCPT + 99 others); Tue, 23 Mar 2021 18:21:00 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:38156 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233931AbhCWWTO (ORCPT ); Tue, 23 Mar 2021 18:19:14 -0400 Received: from desiato.infradead.org (desiato.infradead.org [IPv6:2001:8b0:10b:1:d65d:64ff:fe57:4e05]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 018F2C061764; Tue, 23 Mar 2021 15:19:11 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=desiato.20200630; h=Content-Transfer-Encoding:MIME-Version :Message-Id:Date:Subject:Cc:To:From:Sender:Reply-To:Content-Type:Content-ID: Content-Description:In-Reply-To:References; bh=BH8l4rhqM3j+tO6C1MABX7MjnINoZWw3fSlsoKWejbk=; b=CKCciv/I0u+Qfnd5B1gRD0tTiW TIpbeMTbmRB3cySGrns8wOsyxr5bd4CffbtAc69cJZONuueAlFSzz6USI8syCBPltEd0jZr8uwYvu zDdghVKxUqvJYqOX3/+wU+2pCqioS4dg3rUAzd7jljOpf1kD/c5OWGt0FbGf8W/NcXmbgWmJ+MyZo OSHQOXSeq6iWKdMLs9hkIhhLHH+6C/+pkLAQ1NRXuSY+ZmIe9iWqPzD+ppAQM/ZQn9bFKpanZQO6N eIrQlN4XWqEXamYdCRb70VO/l078T7uFcybq+y+4sTWkTjCadsNbmZoPQYvdBfd+kr4TzwV8zuGei 2z3X+EvQ==; Received: from [2601:1c0:6280:3f0::3ba4] (helo=smtpauth.infradead.org) by desiato.infradead.org with esmtpsa (Exim 4.94 #2 (Red Hat Linux)) id 1lOpMi-00Fq9a-KZ; Tue, 23 Mar 2021 22:19:09 +0000 From: Randy Dunlap To: linux-kernel@vger.kernel.org Cc: Randy Dunlap , Linus Walleij , Bartosz Golaszewski , linux-gpio@vger.kernel.org Subject: [PATCH] linux/gpio/driver.h: some edits for clarity Date: Tue, 23 Mar 2021 15:19:05 -0700 Message-Id: <20210323221905.19529-1-rdunlap@infradead.org> X-Mailer: git-send-email 2.26.2 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Fix a few typos and some punctuation. Also, change CONFIG_OF to CONFIG_OF_GPIO in one comment. Signed-off-by: Randy Dunlap Cc: Linus Walleij Cc: Bartosz Golaszewski Cc: linux-gpio@vger.kernel.org --- include/linux/gpio/driver.h | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) --- linux-next-20210323.orig/include/linux/gpio/driver.h +++ linux-next-20210323/include/linux/gpio/driver.h @@ -227,7 +227,7 @@ struct gpio_irq_chip { /** * @valid_mask: * - * If not %NULL holds bitmask of GPIOs which are valid to be included + * If not %NULL, holds bitmask of GPIOs which are valid to be included * in IRQ domain of the chip. */ unsigned long *valid_mask; @@ -346,7 +346,7 @@ struct gpio_irq_chip { * output. * * A gpio_chip can help platforms abstract various sources of GPIOs so - * they can all be accessed through a common programing interface. + * they can all be accessed through a common programming interface. * Example sources would be SOC controllers, FPGAs, multifunction * chips, dedicated GPIO expanders, and so on. * @@ -435,15 +435,15 @@ struct gpio_chip { /** * @valid_mask: * - * If not %NULL holds bitmask of GPIOs which are valid to be used + * If not %NULL, holds bitmask of GPIOs which are valid to be used * from the chip. */ unsigned long *valid_mask; #if defined(CONFIG_OF_GPIO) /* - * If CONFIG_OF is enabled, then all GPIO controllers described in the - * device tree automatically may have an OF translation + * If CONFIG_OF_GPIO is enabled, then all GPIO controllers described in + * the device tree automatically may have an OF translation */ /** @@ -508,7 +508,7 @@ extern int gpiochip_add_data_with_key(st * for GPIOs will fail rudely. * * gpiochip_add_data() must only be called after gpiolib initialization, - * ie after core_initcall(). + * i.e. after core_initcall(). * * If gc->base is negative, this requests dynamic assignment of * a range of valid GPIOs.