From patchwork Tue Jun 30 13:33:39 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Lee Jones X-Patchwork-Id: 192092 Delivered-To: patch@linaro.org Received: by 2002:a92:d244:0:0:0:0:0 with SMTP id v4csp3823010ilg; Tue, 30 Jun 2020 06:34:48 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzRJ7OTGiW3rI6jis1t+XHAPM3tG3do0yiWWjOTtEf7MOjDXzsLwhRHMoARR49qPktDKqTt X-Received: by 2002:a50:9e2e:: with SMTP id z43mr23552816ede.385.1593524088765; Tue, 30 Jun 2020 06:34:48 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1593524088; cv=none; d=google.com; s=arc-20160816; b=Hh3yGJYDf2t0be9Ej+bMXdWolVUKonvvksykul37tFnJv9Ayb+p2SAItAzlbzJ+bZ8 CcmS+ixFcnkKP2I051geLJhwLfPY6r/hmT27oP4JP+jpY7fRN4MIS6cxse2iXHmsXSm8 odB/yt2az9zbP0kImkZVyQ8nYVlV32Ksc4dObpivkEB+KOKoEPJWWmuwDJwfUhs5xPNO 2dd4LWrbHoPoJstwjNreV2pOU4a0/g654xRShtiE5WNlrmLg/UpBzhAUu4rSdI067bqT lKLyjjijFOLp2l/3ghhEMX4kQJ0w+DYMix3RJhXfVDDuj6q68eGZAwnmck1lxT9qoUTS WQUA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=LxMqnKZ6/vF3Sz1VG4ZmVbGw0fGc694S11E5HGVbx6s=; b=bMJM8NWEGcFFxmlZr2rJenR1PPsmN2uyW3ACIdWJbNK2N7ZeegzcI9h1rhKOVEgvBo ODG6RHOEC38RXId7NDZmBVCXFhxDCm5CSZn3h8zLKOpCg3Ki/GXp8Twq7ViuNzh72jO1 /RCpK5VylVofYq4fcMR+T4KNcbhf42++5GS2Cb7A5fimFW22mL/cXLAzhhARX4ZuuVzx pxH4+6KSqMwzTqTvAA7C2mqMeUTQcQxvHqR2UylB9hOUZ5SSjhoqvLhlqR5una1EVt1n MAUVxAaxLvDf0sEsfHvZNT1LG/W/TqEefyxEGnGWRIJJV+7ssyETYVt3MPfnLOtf1hYA 6Nfg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=a52p8zpD; spf=pass (google.com: domain of linux-gpio-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-gpio-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id me25si1767817ejb.164.2020.06.30.06.34.48; Tue, 30 Jun 2020 06:34:48 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-gpio-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=@linaro.org header.s=google header.b=a52p8zpD; spf=pass (google.com: domain of linux-gpio-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-gpio-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2388254AbgF3Neh (ORCPT + 5 others); Tue, 30 Jun 2020 09:34:37 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:44966 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2388163AbgF3Ndy (ORCPT ); Tue, 30 Jun 2020 09:33:54 -0400 Received: from mail-wm1-x341.google.com (mail-wm1-x341.google.com [IPv6:2a00:1450:4864:20::341]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 3A53DC03E979 for ; Tue, 30 Jun 2020 06:33:54 -0700 (PDT) Received: by mail-wm1-x341.google.com with SMTP id j18so18841172wmi.3 for ; Tue, 30 Jun 2020 06:33:54 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=LxMqnKZ6/vF3Sz1VG4ZmVbGw0fGc694S11E5HGVbx6s=; b=a52p8zpDtHp2BZaKl7cLaCsGbQRImiqq+vdYMe+DEp24dRvPaj0y8e3Kju7zD0XhYx CLwU8KT53+rUeG44oD/jA/JijDdkch9F3RMzyJ1ppCeX6KBs/ucps8SozbJzpjtw6mOt jBoBo02vlcgoUfsxeIazznL9FhHExCEjjRFK8stugey1p6cx+rMZ1SxHayD+46hcaVCM 8V8ZwOXV3CqPMIqYBokS0zQGkEJG0UQuUU44tgL2m9+EtAqzEEXvqj+MCGmqaek2aBnk AuLUNAngsZhaTMBEpLkFjYtH/YvrrGCbOElVQH/o+cZUwBRqtDsh5w6OHa0fU394DeRV X+6Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=LxMqnKZ6/vF3Sz1VG4ZmVbGw0fGc694S11E5HGVbx6s=; b=RPjoFe1DyDalXnvLGzyAIbZd7zPpaID7iyfXc0lr4Yd8VJJwwlGJEaEv8SQTaSSFDF fQb/PQWL1AMCH67OQFcro0Pei5NlpKNclisnAcHTVlJd2SRNup6kzo2TEc0hs2CzBKSn 7wn+60Fk11CZXKcy2J3KlisRR91SUD7nRSg/IuUFWvVBKVg+00nZGoLqj6kL4gGGFNsd +9e3pUEpl/zalDC2E7rXI1Qlqs2CogXZH9mp6V22cOlLn1BUfuIPrQVGgvCxf0+Rja0z DY0YVfwKTUmNmxZBHAOHTBaS7DP9BFBHxFo4VmevWAa6DT4JXQW/LzEMhoD06LLO/FFf H5fA== X-Gm-Message-State: AOAM531wkiByVflTKepN9zrx211tdVk/o+m0wNr55tIvGHo6aYM7gW1v mIeBAs5BryJzVSra0mG2zaplDg== X-Received: by 2002:a1c:1d04:: with SMTP id d4mr22807105wmd.156.1593524032982; Tue, 30 Jun 2020 06:33:52 -0700 (PDT) Received: from localhost.localdomain ([2.27.35.144]) by smtp.gmail.com with ESMTPSA id z16sm3682464wrr.35.2020.06.30.06.33.51 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 30 Jun 2020 06:33:52 -0700 (PDT) From: Lee Jones To: linus.walleij@linaro.org, bgolaszewski@baylibre.com Cc: linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, linux-gpio@vger.kernel.org, Lee Jones , Orson Zhai , Baolin Wang , Chunyan Zhang Subject: [PATCH 04/10] gpio: gpio-pmic-eic-sprd: Fix incorrectly named property 'map' Date: Tue, 30 Jun 2020 14:33:39 +0100 Message-Id: <20200630133345.2232932-5-lee.jones@linaro.org> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20200630133345.2232932-1-lee.jones@linaro.org> References: <20200630133345.2232932-1-lee.jones@linaro.org> MIME-Version: 1.0 Sender: linux-gpio-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-gpio@vger.kernel.org A good attempt has been made to properly document 'struct sprd_pmic_eic', but 'map' has been incorrectly described as 'regmap' since the driver's inception in 2018. Fixes the following W=1 kernel build warning: drivers/gpio/gpio-pmic-eic-sprd.c:65: warning: Function parameter or member 'map' not described in 'sprd_pmic_eic' Cc: Orson Zhai Cc: Baolin Wang Cc: Chunyan Zhang Signed-off-by: Lee Jones --- drivers/gpio/gpio-pmic-eic-sprd.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) -- 2.25.1 Reviewed-by: Baolin Wang diff --git a/drivers/gpio/gpio-pmic-eic-sprd.c b/drivers/gpio/gpio-pmic-eic-sprd.c index 05000cace9b24..9382851905662 100644 --- a/drivers/gpio/gpio-pmic-eic-sprd.c +++ b/drivers/gpio/gpio-pmic-eic-sprd.c @@ -48,7 +48,7 @@ enum { * struct sprd_pmic_eic - PMIC EIC controller * @chip: the gpio_chip structure. * @intc: the irq_chip structure. - * @regmap: the regmap from the parent device. + * @map: the regmap from the parent device. * @offset: the EIC controller's offset address of the PMIC. * @reg: the array to cache the EIC registers. * @buslock: for bus lock/sync and unlock.