Received: by 2002:a05:6902:102b:0:0:0:0 with SMTP id x11csp3594614ybt; Tue, 30 Jun 2020 06:53:30 -0700 (PDT) X-Google-Smtp-Source: ABdhPJz85qT1u265RTmB4wpcAQ6tWn/ipn2VmvgVWUWpsqKuGMo+7XAC3aDCFN9nRaoafunKTNjk X-Received: by 2002:a50:b065:: with SMTP id i92mr24498104edd.112.1593525210612; Tue, 30 Jun 2020 06:53:30 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1593525210; cv=none; d=google.com; s=arc-20160816; b=sPf+l8QTKN3ct+9lFj8Vl6fhavoeOZ9HLR7bW4/Vnc7+uA9QDkdoJILzMlWz+gmmwq EPgkkzrL5M/WBxKBkz+aEN5MeGtGhVu1BPUQrx+VUqBve1Vuelckm2WGtEoZm4BpUYBy hUztTUBjpeP+UA6P8G14Z52AwDULl/PcZcURGQwW+p5imgUFXL5CWbKdBDUYxkcYZRUF oNe/wwa7p07VyHcRCSKSk0PL3MNhd05QSEd+jLctw++R2xZDCaMi4mwHlT0jboMp11yS S8j9qcqkxd0bZyHGMxuLVfi5p0R4sX7MID+mmTuPEKxomfANAq4cxgjRMMGWizREdQJ1 t7Nw== 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=0KDVLpzHsMQDeKu96sh9LYIj12RVnAxA/ichztsrMZQ=; b=q6xmSbg3F2wDYtTU8pMDQUgoFhi8V8L8mtEqeHZGUR+ww+17VlCLGkQq42DBYyVJmp Cv3D2jo6RblJvTs1Op7Nw66PcuoETahkuWyIe8KKbQaMJ/1rL24ST+ON85omVES1Jtgk NMOJ5/JsvXpFH/cKWI9SaP1LLsdEvL4vVidAYeO/YsuueTbk4zqg+yJOQQi/iE4pAmWH caV6e+QIJGVFCUnD0Cq1cneWIW2UJeXLrW4Sf8G0p6sTKh/bqYWf4byUFASIolRnRNTF vDpOrdFqUrRSrkZsjZJNLmKY4Haj3bkG4H3aChFA0gFbPIFl7FZZ6H/UUFkhpX/bOq/O NSkQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b="x/GhyMw3"; 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; 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 r9si1814511edm.321.2020.06.30.06.53.06; Tue, 30 Jun 2020 06:53:30 -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=@linaro.org header.s=google header.b="x/GhyMw3"; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1732565AbgF3Net (ORCPT + 99 others); Tue, 30 Jun 2020 09:34:49 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:44952 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2388152AbgF3Ndw (ORCPT ); Tue, 30 Jun 2020 09:33:52 -0400 Received: from mail-wm1-x342.google.com (mail-wm1-x342.google.com [IPv6:2a00:1450:4864:20::342]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 05CA1C08C5DB for ; Tue, 30 Jun 2020 06:33:51 -0700 (PDT) Received: by mail-wm1-x342.google.com with SMTP id q15so18836218wmj.2 for ; Tue, 30 Jun 2020 06:33:51 -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=0KDVLpzHsMQDeKu96sh9LYIj12RVnAxA/ichztsrMZQ=; b=x/GhyMw3/PifnbCbFgYc7YsXMeDkSg5tTzV3oQIeQg6caOEYi+xswGvOI4ODzVR/8n iYpm0sI3ldVEWE09KVrxRclwDY+yPK6PRD4DJgs9uGscSp38D6ptpQ1FCdluuhPOl+3a fjUpiqUFSOdZEY8qRBCBH2z1Xp7eeoe0+lVECx17sZjtUMuLT84RMxJ1egmxJL5M4AyA FyjcF0JSFT6aIyLB57aBRZk7L9szqdI9Oh3iXaf7HgtrY7jWAvB45lA39yduqcbnBQ/4 YDdIIUEW1DQrsDmASh/wUS7qq16C1l2mnsG2iKBst8FVZG1WDGPO9hfscMSITQxIUidG 53Gw== 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=0KDVLpzHsMQDeKu96sh9LYIj12RVnAxA/ichztsrMZQ=; b=ZiimIyhQzRi0b3wLG1ZxDn9PdHeWV8TdOO9otxUhW/Dzf0Mevb1QpTH7U8tKmtJ34q SOuoszgwUf7LEzum2ku4JYpmzTifiMHXUG26N2b8gjwv4WZggKT0Zf0g4+QqqZ1hl6pV w1yDveagxV4nPM436tTE+vcChfMIcFxoAdJ61if2N9483ob+LMD6/vrPIEgxolGS6bAQ 9TZlNMDKveFEn9AfoeUiiwQODyK/xcO6bId5SARKeWRgnd5gLAPVOkeYeWztFDkI/XVi 9TF8QkbU4GGuNnW9biOSv353DOewB51SUr9YEp4i0WTqvZIYujFvuObay29QHOf8Pn+0 6TUw== X-Gm-Message-State: AOAM5322ycYUqsRqmzpsBR4bvhp+KFHKVpdmKbDWkx4xo0B6p6W+Yh/h wdyaUDw8kYPoIoZRem6clnH2NSVK/0M= X-Received: by 2002:a1c:80d3:: with SMTP id b202mr22156497wmd.111.1593524030718; Tue, 30 Jun 2020 06:33:50 -0700 (PDT) Received: from localhost.localdomain ([2.27.35.144]) by smtp.gmail.com with ESMTPSA id z16sm3682464wrr.35.2020.06.30.06.33.49 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 30 Jun 2020 06:33:50 -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 , Joyce Ooi , Tien Hock Loh Subject: [PATCH 02/10] gpio: gpio-altera: Add missing kerneldoc entry and demote comment Date: Tue, 30 Jun 2020 14:33:37 +0100 Message-Id: <20200630133345.2232932-3-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 Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 'struct altera_gpio_chip's 'irq_chip' property is undocumented. So add property description to the struct's kerneldoc header. Also demote comment block which is clearly not in kerneldoc format. Fixes the following W=1 warnings: drivers/gpio/gpio-altera.c:34: warning: Function parameter or member 'irq_chip' not described in 'altera_gpio_chip' drivers/gpio/gpio-altera.c:78: warning: Function parameter or member 'd' not described in 'altera_gpio_irq_set_type' drivers/gpio/gpio-altera.c:78: warning: Function parameter or member 'type' not described in 'altera_gpio_irq_set_type' Cc: Joyce Ooi Cc: Tien Hock Loh Signed-off-by: Lee Jones --- drivers/gpio/gpio-altera.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/drivers/gpio/gpio-altera.c b/drivers/gpio/gpio-altera.c index cc4ba71e4fe3c..b7932ecc3b613 100644 --- a/drivers/gpio/gpio-altera.c +++ b/drivers/gpio/gpio-altera.c @@ -24,6 +24,7 @@ * @interrupt_trigger : specifies the hardware configured IRQ trigger type * (rising, falling, both, high) * @mapped_irq : kernel mapped irq number. +* @irq_chip : IRQ chip configuration */ struct altera_gpio_chip { struct of_mm_gpio_chip mmchip; @@ -69,7 +70,7 @@ static void altera_gpio_irq_mask(struct irq_data *d) raw_spin_unlock_irqrestore(&altera_gc->gpio_lock, flags); } -/** +/* * This controller's IRQ type is synthesized in hardware, so this function * just checks if the requested set_type matches the synthesized IRQ type */ -- 2.25.1