From patchwork Fri May 28 09:06:15 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Lee Jones X-Patchwork-Id: 449486 Delivered-To: patch@linaro.org Received: by 2002:a02:7a1b:0:0:0:0:0 with SMTP id a27csp160132jac; Fri, 28 May 2021 02:06:54 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyrzH4uXnyo4LIkje47bwjZ+Z+oBi5p9cVS9ZRThLkhrJwlE1rNrf/FKh0MGIMzqR9S/8L6 X-Received: by 2002:a17:906:58d1:: with SMTP id e17mr8039670ejs.179.1622192814279; Fri, 28 May 2021 02:06:54 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1622192814; cv=none; d=google.com; s=arc-20160816; b=nuKv/O4j0qEp6ALj+ApDwpVI8j4xqw/nibo0Icm0dsTZ8qkJFVHYyOTnyGhPRRPpZO 3u0xL5JMGmWVAsOgurEhVYgZEsweGHmQvU8XPQxtY/18C2QGnQj97Q9DVa1TBx2tRACb G7P0ouJt2qZ3H1sf/p64llPTTR8Kc8midPsTLtmphFTS8NClsc+GiAYHrhcJ0S1wlQI8 LheQicDDJwdqtnJz162JHYK3231xjByXSVMjQavuOHaLsS4AoQlBhidJVmzN2JxtxfZ2 VXO6iEszIzBxGsX5pcQ7nipXjhmMmoElXrXx0Dr8a3Qa4hvQM6vOCT/82eaa3PFIwmw8 3n4g== 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 :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=AwUDDxXVk1/gfDczqY3uBtnDj2zTQC8MabK5rngnn1I=; b=LQ7oj1wJHxoAuogYpPCsuIixxRiWuKSXMmjBXBO5yc+zHisYs0MD8HKy63VEmzOCE5 x2oTyBW5vmZgOeg4im/TzzK7IPc36HwFBtnUGw71tsM0EVD8io73Y/reIEKA2vfHl9R0 fuHgg7xZz7jRB8RbPEGTeIbr/sVxorUBpQElU8Gbmrcto0gTkUCs15PBH/yXdWXjohnb QvcRmF2+//znaK7n/13AJ5prPGR1Rcz6T4xJMbezmhdUaWiHwo6+RonHJJs5jUVvGwt+ AlJqTENRT7RM65Ih/PrOY78KWm1QamjrLsWFudQn92AWD3Gz1QxtnnaS+7wEpLNJyxI+ myFA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=IdLYAQEv; spf=pass (google.com: domain of linux-leds-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-leds-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 f14si4050097edv.149.2021.05.28.02.06.54 for ; Fri, 28 May 2021 02:06:54 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-leds-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=IdLYAQEv; spf=pass (google.com: domain of linux-leds-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-leds-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 S236485AbhE1JI0 (ORCPT ); Fri, 28 May 2021 05:08:26 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:45242 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S236534AbhE1JIO (ORCPT ); Fri, 28 May 2021 05:08:14 -0400 Received: from mail-wm1-x334.google.com (mail-wm1-x334.google.com [IPv6:2a00:1450:4864:20::334]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id A0DD6C06138C for ; Fri, 28 May 2021 02:06:34 -0700 (PDT) Received: by mail-wm1-x334.google.com with SMTP id 16so1685939wmj.5 for ; Fri, 28 May 2021 02:06:34 -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=AwUDDxXVk1/gfDczqY3uBtnDj2zTQC8MabK5rngnn1I=; b=IdLYAQEvPjiSqARIkd2bfyj/4gzG9Rv0Ht9kAoSHv1+cd7EzRWoFI/hs7JyjW4d8ri mTSGCjR62DB1lu96PAB3z6tPwVyqpiKnJy6nKPhT7NSeu5mptDh7EFQAHiwVO6i2FmxW APi7eB67/KdW+WNuQtBUa8Vuo4TVH9mJdvEayvA7H4sX0CexbMBLJIgpTLE3ah7OTxgH NHHi9CF1dSaZeZcYM6kljQ067t9fIVaeBF3ggkk5umiHyHmgDER+yjiTHd/G0N5X6C0B oEHJOczHcw87oig8cfOyies7kjIjsNZzs71GkqhLoj2deOmY7wpPI2o67zMJJSWvzlSq shug== 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=AwUDDxXVk1/gfDczqY3uBtnDj2zTQC8MabK5rngnn1I=; b=JoMa1hDUYmK5aggkGqqDDguClf0OKho4U2U9TSGYbi7oJjMJMLS6+6UL4Nky++adSO v8REZBaQKSBR3BKWp/H+9MvB7SYknQFfwxAbuBUt2YWumuXn878AWH6WGGmhZdQfssch o6M0aRRAorgrrmh5bsWQtqTmNrxsOQQpqFCeCEG+4pFcGZOb+Ftb0G/St3ydx1sP94zC HOK/oR8DyP1o3WR66yl/EgTX+NUYW6AvbQlXPiQtAOIKOZerYgZggB2GCL5nPntogHSX 1/3Ub1S1zGUFywvEDwncSHxLj+8HlEQtlEZfHytflouVP3N6yKDhyZWJYMagpT7Pldgr LJKg== X-Gm-Message-State: AOAM532inPmv6Chvvws0zPIx9szyddxkwHHns6FtBbC5zTMtIhbYLch8 4cDhAd6nnBBAqUws+Qi9+H0zlA== X-Received: by 2002:a7b:c1d3:: with SMTP id a19mr7387681wmj.104.1622192793244; Fri, 28 May 2021 02:06:33 -0700 (PDT) Received: from dell.default ([91.110.221.223]) by smtp.gmail.com with ESMTPSA id m132sm6105911wmf.11.2021.05.28.02.06.32 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 28 May 2021 02:06:32 -0700 (PDT) From: Lee Jones To: lee.jones@linaro.org Cc: linux-kernel@vger.kernel.org, Pavel Machek , Linus Walleij , Bryan Wu , linux-leds@vger.kernel.org Subject: [PATCH 01/15] leds: trigger: ledtrig-cpu: Fix incorrectly documented param 'ledevt' Date: Fri, 28 May 2021 10:06:15 +0100 Message-Id: <20210528090629.1800173-2-lee.jones@linaro.org> X-Mailer: git-send-email 2.31.1 In-Reply-To: <20210528090629.1800173-1-lee.jones@linaro.org> References: <20210528090629.1800173-1-lee.jones@linaro.org> MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: linux-leds@vger.kernel.org Fixes the following W=1 kernel build warning(s): drivers/leds/trigger/ledtrig-cpu.c:52: warning: Function parameter or member 'ledevt' not described in 'ledtrig_cpu' drivers/leds/trigger/ledtrig-cpu.c:52: warning: Excess function parameter 'evt' description in 'ledtrig_cpu' Cc: Pavel Machek Cc: Linus Walleij Cc: Bryan Wu Cc: linux-leds@vger.kernel.org Signed-off-by: Lee Jones --- drivers/leds/trigger/ledtrig-cpu.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) -- 2.31.1 Reviewed-by: Alexander Dahl diff --git a/drivers/leds/trigger/ledtrig-cpu.c b/drivers/leds/trigger/ledtrig-cpu.c index fca62d5035909..8af4f9bb9cde8 100644 --- a/drivers/leds/trigger/ledtrig-cpu.c +++ b/drivers/leds/trigger/ledtrig-cpu.c @@ -43,7 +43,7 @@ static atomic_t num_active_cpus = ATOMIC_INIT(0); /** * ledtrig_cpu - emit a CPU event as a trigger - * @evt: CPU event to be emitted + * @ledevt: CPU event to be emitted * * Emit a CPU event on a CPU core, which will trigger a * bound LED to turn on or turn off. From patchwork Fri May 28 09:06:16 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Lee Jones X-Patchwork-Id: 449489 Delivered-To: patch@linaro.org Received: by 2002:a02:7a1b:0:0:0:0:0 with SMTP id a27csp160201jac; Fri, 28 May 2021 02:07:00 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyuMAsMbcvt2rTtvUxWDVccs4u1XeiocFq0efwgy77OICUpNHIdg+0uskqkW5X7s2JYiox1 X-Received: by 2002:a05:6402:1601:: with SMTP id f1mr8694434edv.383.1622192820620; Fri, 28 May 2021 02:07:00 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1622192820; cv=none; d=google.com; s=arc-20160816; b=WQnjpF8GPNp5W5ApEa2CThdkpQzApRnkIBKPxD1F1KTlx90v/RAnELohDypZPb9zj0 cZjEPSStW0IzwqABkBx7z9sBXtMOdaNlQnsfIdTdY/tmi+T1FvrqjKCMvqHMJq6iGLhH BkzofTDr1F4tldDYx6AX0pe09SiA/pKx8IxVwLOATSISDnL1QjYVhOVbzc348j5RUwes fgiU/kxm7Hd7gFZwJ2bPKmX4v3anIy8vDPCg6vuKVGrD8zOZDIOjSoe3C5K0pIsGQRev Ft90Ti090TE/gaiNLMg1GJT7kflkqpfYjbEWmTeZgsZubqOSK0wXWyC79534eLkq58Oa zWvA== 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 :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=Xy+teow2EA1aY3LFpYUkd6V1bBiGK9r/LOeL5mAnek0=; b=JgPg7S2Dv13ARS/T1Sda03A0qxGUgDdgaqg4gOspVLPHPMM4COzvrWvflK6br3FnfZ 93DanU5o1zvA2k7qBrwnAssuRsBWKhkcTY43ng0LSVXD8EDTRIYD2/xg3FV1hhKLaBEV mLsq6a9kOphz6fTmJVjR9Bn7nKb1trioXuBGSf6UOZQyqsHHZGKtOlgiNTGWZ7+E6Def o21mMELRVslbYvgmqOVp7Kl2pHSoKzrc48WlyUTUw6wECI9B1JnR0eJZcaxbZV3Slzvl pMGCaAZHEBJKCURKr3VbmWgeqH2wJhgdl4EO7YB5Kl/Nlt0je4rStMYTsiZmaCPyowEJ NyPA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=wKiM1Mks; spf=pass (google.com: domain of linux-leds-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-leds-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 v11si4267271eja.569.2021.05.28.02.07.00 for ; Fri, 28 May 2021 02:07:00 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-leds-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=wKiM1Mks; spf=pass (google.com: domain of linux-leds-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-leds-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 S234703AbhE1JI3 (ORCPT ); Fri, 28 May 2021 05:08:29 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:45246 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S236570AbhE1JIO (ORCPT ); Fri, 28 May 2021 05:08:14 -0400 Received: from mail-wm1-x331.google.com (mail-wm1-x331.google.com [IPv6:2a00:1450:4864:20::331]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 9BE81C06138E for ; Fri, 28 May 2021 02:06:35 -0700 (PDT) Received: by mail-wm1-x331.google.com with SMTP id l18-20020a1c79120000b0290181c444b2d0so1948053wme.5 for ; Fri, 28 May 2021 02:06:35 -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=Xy+teow2EA1aY3LFpYUkd6V1bBiGK9r/LOeL5mAnek0=; b=wKiM1Mks171OZR7VXl51gMpR92TKJuOplvHoegprgOUV8NZ3fvfdxnZbiwLrSfFQ6k dJpW1tjOZjrvHUPeF6OAAVjikjqyBdBciXBAJcGIuAsh0eiaqAsikf5y0om3YmLJvLVa loCi49V6OclzpetmrwUpHBGpjZ4wcbjBnhSFHm4M5S3WmiOb+sI+NPGHa3VIEN6kC81X MLO/yq43NDiVTEgsPNATX+JQWLYRFOdWpAiJzCAvtD1o3zVJFQsxI48dJLv8eMWD3RSg rfkwl9B8iwfkaEkaP3f395UpVNT4LihHpW5kHyLpS1tT3/73gNWmdPg15E85IhBJiCSL jKDQ== 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=Xy+teow2EA1aY3LFpYUkd6V1bBiGK9r/LOeL5mAnek0=; b=KMPVQJU5BxKgWAk4U/tWhR93PVNIyAoiWviz/J1qGC2qHOZbbUfF+cJB2kIYmHv1Bw IBPoJqvWGmFaXkttbC92VHaAy0rmWopGDBsKJ69AcgOccUiI5rp+F7UHhLoB/Sv9NQAu N5BAC3uwd5MWI5VofzyXnCTbRpW2qU0xAZYkwMvzVYcUDF/CkNlJivPWkJi534JF3tSF TseQxcGCQV5+y888VmJP7WXaT9RnutFNnHsZxTUH13RwiMWYCpswNCJ0kBEqR6Q4y6Pp tplfvPy+IIHnGaOJWX07NcSZXKResg4g2JIj+X8rv7JiRIwW5kq6W7RVB8H6KAaxDi4P gUEA== X-Gm-Message-State: AOAM531ZucVBNsuvo8xSWOU3o9W3ijG+wQ6I/v+yzhj0qOOTMD2OMZus k4Vfp6Q1eGKGntqyXfr/pkjLXA== X-Received: by 2002:a1c:3c55:: with SMTP id j82mr7450966wma.21.1622192794206; Fri, 28 May 2021 02:06:34 -0700 (PDT) Received: from dell.default ([91.110.221.223]) by smtp.gmail.com with ESMTPSA id m132sm6105911wmf.11.2021.05.28.02.06.33 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 28 May 2021 02:06:33 -0700 (PDT) From: Lee Jones To: lee.jones@linaro.org Cc: linux-kernel@vger.kernel.org, Pavel Machek , Uwe Kleine-Koenig , linux-leds@vger.kernel.org Subject: [PATCH 02/15] leds: leds-gpio-register: Supply description for param 'id' Date: Fri, 28 May 2021 10:06:16 +0100 Message-Id: <20210528090629.1800173-3-lee.jones@linaro.org> X-Mailer: git-send-email 2.31.1 In-Reply-To: <20210528090629.1800173-1-lee.jones@linaro.org> References: <20210528090629.1800173-1-lee.jones@linaro.org> MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: linux-leds@vger.kernel.org Fixes the following W=1 kernel build warning(s): drivers/leds/leds-gpio-register.c:24: warning: Function parameter or member 'id' not described in 'gpio_led_register_device' Cc: Pavel Machek Cc: Uwe Kleine-Koenig Cc: linux-leds@vger.kernel.org Signed-off-by: Lee Jones --- drivers/leds/leds-gpio-register.c | 1 + 1 file changed, 1 insertion(+) -- 2.31.1 diff --git a/drivers/leds/leds-gpio-register.c b/drivers/leds/leds-gpio-register.c index b9187e71e0cf2..de3f12c2b80d7 100644 --- a/drivers/leds/leds-gpio-register.c +++ b/drivers/leds/leds-gpio-register.c @@ -11,6 +11,7 @@ /** * gpio_led_register_device - register a gpio-led device * @pdata: the platform data used for the new device + * @id: platform ID * * Makes a copy of pdata and pdata->leds and registers a new leds-gpio device * with the result. This allows to have pdata and pdata-leds in .init.rodata From patchwork Fri May 28 09:06:17 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Lee Jones X-Patchwork-Id: 449487 Delivered-To: patch@linaro.org Received: by 2002:a02:7a1b:0:0:0:0:0 with SMTP id a27csp160141jac; Fri, 28 May 2021 02:06:55 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwhdHUoFGwRkgZuLYbgn4vu+78M8D0AMZhFXMZppOL9TmpETJmL9e6JCBABHseBJ267S6yP X-Received: by 2002:a05:6402:2217:: with SMTP id cq23mr8619399edb.29.1622192814826; Fri, 28 May 2021 02:06:54 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1622192814; cv=none; d=google.com; s=arc-20160816; b=g6lPCCZvd9Q1aCSUXxaf+MO1Eaorn+b9M47SMzNZGJ094IML5y7L2e3174ciF5xTg6 pjsOznPuGlHRpO6rrLKSIJtFXZmddxGBzgru9jygKhK3TtQeO7DhLuUpHYyNDuF2XQAb cT2LGZZLEAnYraGWfdM3q4sjdP9XV85kfpE5HchQWSDLf70nn5jMMtS41559AC2oJ5Yc idQ7+f3VDbM2F8JHrUlhfhDkdHuNl6DaTfg8A2alpwI9P3NnDQGCfuDoTKKznD6pInjT h1V89Z4Lp+f1YhaAj2jBhUmjOAetsiNaJtjxVJQ4uWhZcOm0uTwDYoq1YyTkfn5fPYzW NH6Q== 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 :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=yCHwgdsgQ6fJQNC1IP1vbSWWrvc2ky/5/NAN71BbxeE=; b=09KIpetTnIf/pnoTXir6bwyXqbbnnPYvWaKVz8ebWCbuSwWC43uGnPTKlj9HW1ukc6 IZ8zlEfP8P2aU/AK8fWNOyemcef6ysmJ4Mygw68/K42WkJQtTfT5MECk1KWzShZwTAVX IPg8+xW9YePEwS492PhpyCxTIyWGaGoh6qln2WrtOTQUEGhvDJ9nWVMaAqhBuIfsGeYe uveqMtbAGb5YzDnVGTshhjUvb19AoJOYNdzqphNFUcHGieZRYPHH8nqHpXadyz2KhcTm mdgSZWzahhUyT46pkXaVFSTEMkleeUVvuUGteCvPuPMru/HXNpzcbc9dGwP71okUKZTR cVtQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=PG5t4BCU; spf=pass (google.com: domain of linux-leds-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-leds-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 f14si4050097edv.149.2021.05.28.02.06.54 for ; Fri, 28 May 2021 02:06:54 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-leds-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=PG5t4BCU; spf=pass (google.com: domain of linux-leds-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-leds-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 S236492AbhE1JI1 (ORCPT ); Fri, 28 May 2021 05:08:27 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:45250 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S236528AbhE1JIO (ORCPT ); Fri, 28 May 2021 05:08:14 -0400 Received: from mail-wm1-x32d.google.com (mail-wm1-x32d.google.com [IPv6:2a00:1450:4864:20::32d]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 94118C061342 for ; Fri, 28 May 2021 02:06:36 -0700 (PDT) Received: by mail-wm1-x32d.google.com with SMTP id l11-20020a05600c4f0bb029017a7cd488f5so1994481wmq.0 for ; Fri, 28 May 2021 02:06:36 -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=yCHwgdsgQ6fJQNC1IP1vbSWWrvc2ky/5/NAN71BbxeE=; b=PG5t4BCUUCZooJ+B3jhYXhsmN9ESA6HHKQ7dYImvqyNpS4TK5JYGjV8uPIJjAcZUB6 Z1OF0JP58MOJBdVS8ccjTb6NLQpUTTBBPppVoFhTF8iMIlqlflIXbN/mbzSSl+yRSha4 7/HGmym0jQn/uMk2ST2NDNGGCcI5suIHkdBE/jORz5P8NMOoLpt5QvQ3v0D5tFtnUAUA ue6n4vvDmpkRlQNbEVaYCVJBrxWAtIB//7yDgx2xdsvooR0ZUouAoOQFD4guyuRGPkuK kBpleCuybKvFmTzIEffaIEznno/uMEmQK2ECSQ6AR4Q4o9c/Vs1Jmjjn0wOK56wAMYfP xiAQ== 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=yCHwgdsgQ6fJQNC1IP1vbSWWrvc2ky/5/NAN71BbxeE=; b=Uh9ZWSTnl1wCIyubPGqhUyh2xMIhDyeNbVGQ6/tRr6eZVansrT75vBHyF/wDSS3Lpg Jaw7+36Bf7LUXJ+QEp9c3tYP54gZEOHuD3r7YcmC9zczoYUbCOJ0hEisTWpDI5+9xriX J6hT7oVa2Io0Xo6ed/he0P+tDkGIGpKNpJciUPGE66OI6Q59VostwFxf8mt7SytaPmQC h5FnLVuYkCVGnTGN0ZALmaIFkxeE75ecQ9tYoNKMVxuVT/ZedZT+b5v8Epq+1E1nB6ZN E4SdD3SkX2gYSLw73yQsMRq5JeUubYm9Fg5X96+nGorBVjtiQNkj0qvURQ5pJNE2qdxm L4uw== X-Gm-Message-State: AOAM533H5gW8iCnp2FlblPTsLmegjxnHSQaOzCJTKpqWwchX2Rrp9Do+ V/flAPkoHgY0Crxt5OG/Ioidngvyz/qi8w== X-Received: by 2002:a1c:6782:: with SMTP id b124mr12124040wmc.159.1622192795140; Fri, 28 May 2021 02:06:35 -0700 (PDT) Received: from dell.default ([91.110.221.223]) by smtp.gmail.com with ESMTPSA id m132sm6105911wmf.11.2021.05.28.02.06.34 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 28 May 2021 02:06:34 -0700 (PDT) From: Lee Jones To: lee.jones@linaro.org Cc: linux-kernel@vger.kernel.org, Pavel Machek , John Lenz , Richard Purdie , linux-leds@vger.kernel.org Subject: [PATCH 03/15] leds: led-class: Fix incorrectly documented param 'dev' Date: Fri, 28 May 2021 10:06:17 +0100 Message-Id: <20210528090629.1800173-4-lee.jones@linaro.org> X-Mailer: git-send-email 2.31.1 In-Reply-To: <20210528090629.1800173-1-lee.jones@linaro.org> References: <20210528090629.1800173-1-lee.jones@linaro.org> MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: linux-leds@vger.kernel.org Fixes the following W=1 kernel build warning(s): drivers/leds/led-class.c:521: warning: Function parameter or member 'dev' not described in 'devm_led_classdev_unregister' drivers/leds/led-class.c:521: warning: Excess function parameter 'parent' description in 'devm_led_classdev_unregister' Cc: Pavel Machek Cc: John Lenz Cc: Richard Purdie Cc: linux-leds@vger.kernel.org Signed-off-by: Lee Jones --- drivers/leds/led-class.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) -- 2.31.1 Reviewed-by: Alexander Dahl diff --git a/drivers/leds/led-class.c b/drivers/leds/led-class.c index 2e495ff678562..16271a1de12a7 100644 --- a/drivers/leds/led-class.c +++ b/drivers/leds/led-class.c @@ -513,7 +513,7 @@ static int devm_led_classdev_match(struct device *dev, void *res, void *data) /** * devm_led_classdev_unregister() - resource managed led_classdev_unregister() - * @parent: The device to unregister. + * @dev: The device to unregister. * @led_cdev: the led_classdev structure for this device. */ void devm_led_classdev_unregister(struct device *dev, From patchwork Fri May 28 09:06:18 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Lee Jones X-Patchwork-Id: 449485 Delivered-To: patch@linaro.org Received: by 2002:a02:7a1b:0:0:0:0:0 with SMTP id a27csp160128jac; Fri, 28 May 2021 02:06:54 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwFZdgaICKY+5v+iAaNtF/NLAwqO+N0enOZoEwem+2Soi8hdJFZzSp+UvqQKuPx4lCyy5CD X-Received: by 2002:aa7:cd49:: with SMTP id v9mr6304107edw.54.1622192813866; Fri, 28 May 2021 02:06:53 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1622192813; cv=none; d=google.com; s=arc-20160816; b=QFni+QzfHkybqopsvYRhpiCOFVYxCzOgHMvxTxaEeVBgBuWpG0iuJdzUubgry/fwqS akiVt6U00KgWK6SRTzY55LHLMibfBzLIPZew01nZEkh2wzbfMSRobo3r27Yt2v97h2fF tZmN0YHE/qfWDvQDwnW2Vvd9u8T4b9O2Zzb6MgbS3/ND/k6/mUywIrzTmkaGifjvY5Ff 17mu26jxAKND55XgX0ELAU+fyqo+7cWN78eEKF6UUjy9R7BdP1befZ8P2cCfspIKipWk WzuXyNoU3O2g+i1nOT44j+6+jwcC3679BqNrlK4Sr8kpEFXqFKg6hGNjYe6++l6oC4Hx RwYA== 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 :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=/Tpxvrezbz4fVWqGXP5tr+bw/T66XdtDTRoAL/D3c3I=; b=Ir3K9KiHVpYP2oSkkAOztHDHs3rMwD13TlRRKdyfNoQ1nrDg0MiOpcxOwMjH7lk5xX /EY3XrvyQrGRvIj6M3I2tLmQqtEnJ/QozYP77pSjg/rDR/J5bb1J4mdy90ISVb/giSIx Iq5jWMKjdSnPpGBo2CpU6Q46LfXlo+gh52bKxXKCRvDpPSnbtpQU4T5moHM+INu8a4/f aIKdwnSArRfqUqPyCJAvbl2pBg988CnPKslYfx9yHAG3ibD7kvNOdJimi2OzBYQ8hGZ2 Le7rc6EmtE+LDBLQ6dmYcJ3UFtPwbOC9AADpyQY41cxRrZXvmcLp22qJCtyLu8qb9y5F 8i0w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b="At/x6PPB"; spf=pass (google.com: domain of linux-leds-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-leds-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 f14si4050097edv.149.2021.05.28.02.06.53 for ; Fri, 28 May 2021 02:06:53 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-leds-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="At/x6PPB"; spf=pass (google.com: domain of linux-leds-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-leds-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 S236312AbhE1JI0 (ORCPT ); Fri, 28 May 2021 05:08:26 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:45252 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S236269AbhE1JIO (ORCPT ); Fri, 28 May 2021 05:08:14 -0400 Received: from mail-wr1-x42c.google.com (mail-wr1-x42c.google.com [IPv6:2a00:1450:4864:20::42c]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 7B647C061343 for ; Fri, 28 May 2021 02:06:37 -0700 (PDT) Received: by mail-wr1-x42c.google.com with SMTP id z17so2526502wrq.7 for ; Fri, 28 May 2021 02:06:37 -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=/Tpxvrezbz4fVWqGXP5tr+bw/T66XdtDTRoAL/D3c3I=; b=At/x6PPBZ6tyK40CZRLPAWb+hzicYLlGXMkRZufynn55TwTjfK/ktiwzgnRY+y39Ao z37YAD/D6RCb/kutzgS6QxDYg7TZrYLeLNWAyi9ah5t4g85xxzgoBzXusu+blHsialHo gA1RimDyapBS2fw/JcIE+Kmwv0GO/HL7+JrfjyU1sgSWlKJLyVEmlUEHkhoqiG6D2K9C NbX4pmCw8KSAb++U1MfHZJwTnpYBADSARDCmwnCt/ZRuV3+S3WZaLZoJKJFO9LcZOHO1 pcEC4Y7MifaWhlKAolq2tGwHtaV8y2xuUovjn3mCPidIZYPdLnvLLnS/jQ/PG2ptfJN2 0uJA== 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=/Tpxvrezbz4fVWqGXP5tr+bw/T66XdtDTRoAL/D3c3I=; b=VXjX8S1mIyj+EbmXtitqLqOnCMbOt/fPv3gDwQjTmy67+ZekrTeA9tAoJ7JKY3QNkr fVS+56Ixr3Z/zmogYMkziAuJmWDaBp381HUcUsX1gFChqJ6T7FmW1DemxyTfgK2ynakn 51x1VBfI21/ZI1f6g6xPp41udhY2AfMva77sKzlT3Xk7RMT8g53pQ2dwSVtkoa2pjO6P yrckngudn7enJi7nwaV7oY9aq5moYoSHJU7j7EQ9Hag7WeWjaKnEoJK3S3LLULi3Jaeb mvpfDPPr3Bs/S2YLez+/aW06yf0GADBPx/cR/du9alAC59RYGSOyEI75d6dyUBdDmrCk GwWg== X-Gm-Message-State: AOAM530GALkNLWMhQEgTbrIfB98nyceL6yyQVUWRei1XwRRADuGJ6WK8 I6nUqmOG7Ubuzamc53atkN/uK3W/onZolQ== X-Received: by 2002:a5d:4b87:: with SMTP id b7mr7312653wrt.129.1622192796118; Fri, 28 May 2021 02:06:36 -0700 (PDT) Received: from dell.default ([91.110.221.223]) by smtp.gmail.com with ESMTPSA id m132sm6105911wmf.11.2021.05.28.02.06.35 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 28 May 2021 02:06:35 -0700 (PDT) From: Lee Jones To: lee.jones@linaro.org Cc: linux-kernel@vger.kernel.org, Pavel Machek , =?utf-8?q?F?= =?utf-8?q?ern=C3=A1ndez_Rojas?= , Jonas Gorski , linux-leds@vger.kernel.org Subject: [PATCH 04/15] leds: leds-bcm6328: Demote kernel-doc abuse Date: Fri, 28 May 2021 10:06:18 +0100 Message-Id: <20210528090629.1800173-5-lee.jones@linaro.org> X-Mailer: git-send-email 2.31.1 In-Reply-To: <20210528090629.1800173-1-lee.jones@linaro.org> References: <20210528090629.1800173-1-lee.jones@linaro.org> MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: linux-leds@vger.kernel.org Fixes the following W=1 kernel build warning(s): drivers/leds/leds-bcm6328.c:97: warning: This comment starts with '/**', but isn't a kernel-doc comment. Refer Documentation/doc-guide/kernel-doc.rst Cc: Pavel Machek Cc: "Fernández Rojas" Cc: Jonas Gorski Cc: linux-leds@vger.kernel.org Signed-off-by: Lee Jones --- drivers/leds/leds-bcm6328.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) -- 2.31.1 diff --git a/drivers/leds/leds-bcm6328.c b/drivers/leds/leds-bcm6328.c index 226d17d253ed3..2d4d87957a300 100644 --- a/drivers/leds/leds-bcm6328.c +++ b/drivers/leds/leds-bcm6328.c @@ -93,7 +93,7 @@ static unsigned long bcm6328_led_read(void __iomem *reg) #endif } -/** +/* * LEDMode 64 bits / 24 LEDs * bits [31:0] -> LEDs 8-23 * bits [47:32] -> LEDs 0-7 From patchwork Fri May 28 09:06:19 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Lee Jones X-Patchwork-Id: 449490 Delivered-To: patch@linaro.org Received: by 2002:a02:7a1b:0:0:0:0:0 with SMTP id a27csp160214jac; Fri, 28 May 2021 02:07:01 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzXKOserLLINtGwj7cXdhjB76wbHHQrovX1i5XTeXy17l7M6+nZj6p/OoTBbyzNn/PkrgbW X-Received: by 2002:a17:906:5211:: with SMTP id g17mr8109892ejm.281.1622192820949; Fri, 28 May 2021 02:07:00 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1622192820; cv=none; d=google.com; s=arc-20160816; b=I0Q5hsoqyKKrOLvwhODkFCtrPYunO0NBOuk1rFKFTTL8L0ccBdL0jzBnsjWtPU2l/Q OkQVr6TSn/7vmxHxIUYg9ztV5LfWuT7UQzXUU23DXnaSV+pIX/gYtm4xtOdjgS1eGLgV FMW2l5jr5e4WbK3lXuqpqiajYd3zO7gAOPDjWEZ2E9OZOcZaCvk8aWGwqGvd4jOf2fnA RAyW6oIfQEQd4zXg+Vqs8+/pCVrTCmz3oPZM/5wsB9+jFYKWaflvwDlOKHU477hPcyY7 g1GU5L/fck49zHFVcR26ZGLWi9mTO5FYBbnPEVpgRRBloNaUdZQzZ219fU0PKz2wNY2M /h6A== 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 :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=flWkEvuyWcSWIehnz5RywDGRAA/KaDRdI7W1OSESvMU=; b=XduD4xtb8SdkHWKNFH5snp6ToOYwe97gHFGeChPgQBRV/M5u8bAwcgejP2U299SPPn lEiZTMVKLWIThe1RW3dlaPvcZZhOo50omwObkiXq0fMidb8Dusma4w84GrDbA+LKo/+d 1awmcTntd2DSoFdrV+Yw8p/bxWbhb6ZB31iU6+kZmF1BBsn5axnixRbMaNhXP5baLOcr UbEVn3K1AgESS0L3LDKULjPDYqmHfCw08en4w7DJLI3AZOL+MZUAKVMyOplGd2HRJ8bf bkqu2vSLGZ0l1dXTiJ66mVkL00240T757ufl2Hd3K5SBq2wngC6QhwABW8hvoOfMFfDw 1B7Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=N7DNOKE1; spf=pass (google.com: domain of linux-leds-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-leds-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 v11si4267271eja.569.2021.05.28.02.07.00 for ; Fri, 28 May 2021 02:07:00 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-leds-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=N7DNOKE1; spf=pass (google.com: domain of linux-leds-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-leds-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 S236555AbhE1JIa (ORCPT ); Fri, 28 May 2021 05:08:30 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:45262 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S236519AbhE1JIP (ORCPT ); Fri, 28 May 2021 05:08:15 -0400 Received: from mail-wr1-x42d.google.com (mail-wr1-x42d.google.com [IPv6:2a00:1450:4864:20::42d]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 4A3B3C061345 for ; Fri, 28 May 2021 02:06:38 -0700 (PDT) Received: by mail-wr1-x42d.google.com with SMTP id x8so2514397wrq.9 for ; Fri, 28 May 2021 02:06:38 -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=flWkEvuyWcSWIehnz5RywDGRAA/KaDRdI7W1OSESvMU=; b=N7DNOKE1+iD8ct5UbAYF1i+FbbX6L3oE0dq3C1Ur3V+MmQmE/Dadn+x0H0xtaRCG/U bDoc3pEMC2klFvGV5r/s1ATH/Gn8OeZfNY8cUmvLTCAJWzDfawAoMgPvU1miyTZXViNI 1xcWJQENF/QQXujVAQcC9hnBAxSzFzJHu9OGS0AX3utGnUOrZrWOYXkVazdNQ72cE6aY b3J8+kxm1ZezBhm9QGacpTl3nGMIHQa2a6L0x1iBdC5ZPfJKlQlzVgKoGMHlAZ4e/Aeb ElwVDOclzc7n8YOEfHWcMbOnEHkwllCyVaMwL70SliomfxCfAbpWGiBn6TypNpQnftBp VRfw== 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=flWkEvuyWcSWIehnz5RywDGRAA/KaDRdI7W1OSESvMU=; b=hoBKi4n3qy2PbtRy55hQBb0+JAFngo+CLbz6/8ATFgxclfc3BgQA+JzZgN2YPR4dDg T3zsetiBEvnyeolsArCLCS0jNScorslU+0XEiTPhMJ2Y6YL1oIwjeQhynwDVjSy+EfOH n15POjJbNT4I40AdmYt6hMzYXhWz4fIGOylqBfOKoGRadgPdMBeGO8p26gJDj0WzcHqe rjhdSDzYJrMP9IS7/8knVGdE8hB02xZjmgf90G/bGNCvMsbkKDCwPspxl/pRfJ2ZnRl1 S9jZA9MRG2ewwfP46+JY7ruhBEHnWGKnEVxRBdDOH0cVtT7Os+Qm6u9h9ELm5PsCgWW+ tKVw== X-Gm-Message-State: AOAM530qDtJ5IoS8iu/g0IcZI0YxFbTBT1COnlFhvAhikeniLs9L9zVt dBwMsCi09TIrmcSPFEK9NrvV5w== X-Received: by 2002:a5d:4151:: with SMTP id c17mr7671732wrq.262.1622192797055; Fri, 28 May 2021 02:06:37 -0700 (PDT) Received: from dell.default ([91.110.221.223]) by smtp.gmail.com with ESMTPSA id m132sm6105911wmf.11.2021.05.28.02.06.36 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 28 May 2021 02:06:36 -0700 (PDT) From: Lee Jones To: lee.jones@linaro.org Cc: linux-kernel@vger.kernel.org, Sakari Ailus , Pavel Machek , Laurent Pinchart , linux-leds@vger.kernel.org Subject: [PATCH 05/15] leds: leds-as3645a: Fix function name 'as3645a_set_current()' Date: Fri, 28 May 2021 10:06:19 +0100 Message-Id: <20210528090629.1800173-6-lee.jones@linaro.org> X-Mailer: git-send-email 2.31.1 In-Reply-To: <20210528090629.1800173-1-lee.jones@linaro.org> References: <20210528090629.1800173-1-lee.jones@linaro.org> MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: linux-leds@vger.kernel.org Fixes the following W=1 kernel build warning(s): drivers/leds/leds-as3645a.c:198: warning: expecting prototype for as3645a_set_config(). Prototype was for as3645a_set_current() instead Cc: Sakari Ailus Cc: Pavel Machek Cc: Laurent Pinchart Cc: linux-leds@vger.kernel.org Signed-off-by: Lee Jones --- drivers/leds/leds-as3645a.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) -- 2.31.1 diff --git a/drivers/leds/leds-as3645a.c b/drivers/leds/leds-as3645a.c index e8922fa033796..c41937ff8fd33 100644 --- a/drivers/leds/leds-as3645a.c +++ b/drivers/leds/leds-as3645a.c @@ -185,7 +185,7 @@ static int as3645a_read(struct as3645a *flash, u8 addr) */ /** - * as3645a_set_config - Set flash configuration registers + * as3645a_set_current - Set flash configuration registers * @flash: The flash * * Configure the hardware with flash, assist and indicator currents, as well as From patchwork Fri May 28 09:06:20 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Lee Jones X-Patchwork-Id: 449491 Delivered-To: patch@linaro.org Received: by 2002:a02:7a1b:0:0:0:0:0 with SMTP id a27csp160220jac; Fri, 28 May 2021 02:07:01 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzVwbi4ZzpiP/b1lyPKCv4cUGa8b9uIqUwDfjUxyiC/8KXZJVpQn+m5es5FZNsoY73zhgb1 X-Received: by 2002:a05:6402:42cd:: with SMTP id i13mr8740232edc.34.1622192821330; Fri, 28 May 2021 02:07:01 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1622192821; cv=none; d=google.com; s=arc-20160816; b=K1J+QcNtVI1FAEEy2pH5yo/1CYOmu1HmVqJ8++Hwkc2sdleele4NrWu8L6Sj7P7EQo Z8jZpR+7fc2GBKaikehM5WaDE26asf0oI3+B8gn4ZmLim1ApBoIUsz8AWI+CyilrSYkd cWthx2YZikOKFt0Qor+OuKLnhP4hTwbaRZeGkM9qsloUxHuBszLlSDfPONWhfvgAp9Ci JOPkt2KHG+5bmigfRUGlmJ0T5HGMVaRJRX8AekHYappKjG6VFDath2jx8ZFT2LLTx5g5 DRunlMLufszH0IiSw1Lux9KbBeN6+j4BsdwyDwfxujfQIygNVy2b15lPyZ+nZ2j30/ks /wWg== 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 :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=O+f864LGvURQSeroBuuxgBe/TOHz+dhRDDdewVQSqGw=; b=DPTUOUlnGwBhGgp9Guz4RzPEMfKraTFud6xO9S4gmkLwZwH3oSDpw0qkFTd/2tBu2U wxt3ufn5EwzRI6dW+zv4BIekkZxjbqDL1LEiMvSdHYdJtWgP0HsgqDsKfXobCRN7tT2Y CKaxfnLsOYp7zZxqclOZ/91y3R3r1MceIZM+Q5yuEbiV3Sqxt169DwYDad9mC2mqxpec yAa7hsBnswjo15wt501/AhqqVBfIdqDjXJOtT8YFnckwgEQFThoL5qdX7T2MNLS5Y8kX LrgqYMXmrEPfui2bNRl7w24oi6y7N0IYygnAvo9HqC5ffqT5j5Vm92Cn6kHEargkcdFx JVIg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=IRUgGQMu; spf=pass (google.com: domain of linux-leds-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-leds-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 v11si4267271eja.569.2021.05.28.02.07.01 for ; Fri, 28 May 2021 02:07:01 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-leds-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=IRUgGQMu; spf=pass (google.com: domain of linux-leds-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-leds-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 S236519AbhE1JIa (ORCPT ); Fri, 28 May 2021 05:08:30 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:45130 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S235358AbhE1JIQ (ORCPT ); Fri, 28 May 2021 05:08:16 -0400 Received: from mail-wm1-x32c.google.com (mail-wm1-x32c.google.com [IPv6:2a00:1450:4864:20::32c]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id CD91FC061348 for ; Fri, 28 May 2021 02:06:39 -0700 (PDT) Received: by mail-wm1-x32c.google.com with SMTP id f75-20020a1c1f4e0000b0290171001e7329so1973649wmf.1 for ; Fri, 28 May 2021 02:06:39 -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=O+f864LGvURQSeroBuuxgBe/TOHz+dhRDDdewVQSqGw=; b=IRUgGQMuE35gabK+9D3iSckXRcFnziOwB3UBmxCujDK2rnq35LY4NEalWzCpf53BQQ 7zvMHb61lSK3ANth9tEPXif/8oN6PHAvqUbvqQQh66wWcdjBWtKvwkHUx6STQZ+DBmYs ex9Pl+kgJ87rrBGsIN00gWjJrhFdCJeOiEWvyFKqRAfyTHHFcenwMIs6+CQImG+1V/0l cLGpoNcBpNZM21oSFFYk3ygS2wy8/5D98+YEh1Nm79I4a/AgxWjvdrM5T8p3GAwBchE+ i+AyQFoYRFrPsiUxzOAg+4mC2mhq3psKhakJgOnW+Qz68bGPgNuYXU5XI79QPA5SCbRZ Y9vQ== 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=O+f864LGvURQSeroBuuxgBe/TOHz+dhRDDdewVQSqGw=; b=BqTWFY8Vd9odIcI34ci1Y9Mrdp0jQJFsY89L++x5gwCopkjeIcfBxtf6ZHVCEXkIBV 1jWHvH/+u2gf87Xn2v82IlMxW4HkXjw7xIzjnaQ/pNRIQaF3Q/iQtnS7kGZ/zwpwdkWN Kq/pU7Eugf6K9Du9efwvEFCMrrG595peD+wkUjok/OS/5dTLrHj9apmub6kDHUZ+Gk17 gr2iv6nunj4ooHV8hFsD3UQ/cfysmPAT+4t1m3YEnwMfveaJxg8J0BfopoSx+pLkE5Rv tMlT7vSqkqPleWlOWY2CK46cC5z/rY+dPrj6p1SyJAMFbFGHSJQx1LiXo62vHmdY9rCB o1Ew== X-Gm-Message-State: AOAM5328ovhxR1DpgNZvGZKJH/H3bzWmYX5DsheszIG+7+DCnePCCD0/ GIrbqcBxH3xDlT5wLh2mhlMofw== X-Received: by 2002:a1c:7c03:: with SMTP id x3mr7497930wmc.122.1622192798448; Fri, 28 May 2021 02:06:38 -0700 (PDT) Received: from dell.default ([91.110.221.223]) by smtp.gmail.com with ESMTPSA id m132sm6105911wmf.11.2021.05.28.02.06.37 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 28 May 2021 02:06:37 -0700 (PDT) From: Lee Jones To: lee.jones@linaro.org Cc: linux-kernel@vger.kernel.org, Jan-Simon Moeller , Pavel Machek , =?utf-8?q?Jan-Simon_M=C3=B6ller?= , linux-leds@vger.kernel.org Subject: [PATCH 06/15] leds: leds-blinkm: Remove unused variable 'ret' Date: Fri, 28 May 2021 10:06:20 +0100 Message-Id: <20210528090629.1800173-7-lee.jones@linaro.org> X-Mailer: git-send-email 2.31.1 In-Reply-To: <20210528090629.1800173-1-lee.jones@linaro.org> References: <20210528090629.1800173-1-lee.jones@linaro.org> MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: linux-leds@vger.kernel.org Function returns void anyway. Fixes the following W=1 kernel build warning(s): drivers/leds/leds-blinkm.c: In function ‘blinkm_init_hw’: drivers/leds/leds-blinkm.c:483:6: warning: variable ‘ret’ set but not used [-Wunused-but-set-variable] Cc: Jan-Simon Moeller Cc: Pavel Machek Cc: "Jan-Simon Möller" Cc: linux-leds@vger.kernel.org Signed-off-by: Lee Jones --- drivers/leds/leds-blinkm.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) -- 2.31.1 diff --git a/drivers/leds/leds-blinkm.c b/drivers/leds/leds-blinkm.c index b4e1fdff4186a..bd7d0d5cf3b62 100644 --- a/drivers/leds/leds-blinkm.c +++ b/drivers/leds/leds-blinkm.c @@ -480,9 +480,8 @@ static int blinkm_led_blue_set(struct led_classdev *led_cdev, static void blinkm_init_hw(struct i2c_client *client) { - int ret; - ret = blinkm_transfer_hw(client, BLM_STOP_SCRIPT); - ret = blinkm_transfer_hw(client, BLM_GO_RGB); + blinkm_transfer_hw(client, BLM_STOP_SCRIPT); + blinkm_transfer_hw(client, BLM_GO_RGB); } static int blinkm_test_run(struct i2c_client *client) From patchwork Fri May 28 09:06:21 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Lee Jones X-Patchwork-Id: 449492 Delivered-To: patch@linaro.org Received: by 2002:a02:7a1b:0:0:0:0:0 with SMTP id a27csp160223jac; Fri, 28 May 2021 02:07:01 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyYMtUkqz2Hz9liz9EchXjwIGmQvfJK3TKMn7LowTFzg71ZBTnvXq1xwHUsuKMpTc3hlxRk X-Received: by 2002:a05:6402:1b10:: with SMTP id by16mr8560180edb.172.1622192821674; Fri, 28 May 2021 02:07:01 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1622192821; cv=none; d=google.com; s=arc-20160816; b=KsUIyBfhzHET4hmEhMFsZZXmUh8rnDiuAaebb4cvwZK9in5/45AxkWAHhzo6JFSRj2 7iFbXM91YVP0wiy5AHuvEb6kS8caJ+5H02bfeICIct5qdQyGPFcgr2q7KNWBUEoqdk9V h2qzddck8IbBYISX38alvOqKYdrfAz6RkFMsKT+R0Z8D8RQQYZimapk5VXE6+umi9CLg wvo9vk1/tXiZetYG8imvZfR2wZoPy1vyrc2840lrPt/vqZHqWwjUG8UvZiUB/HYy48Vh z0PGaiGjZhhSt23WLsbnEbb2cPlyi2iGMejVuZGWg3kL9rEMg78Fc3HUU/GYDf70jyIg 4XOA== 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 :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=wQaiNSE7un6ReV9xY9B/S7XjK0Kbs8xr+fZEepz4I8k=; b=HoM50oJbVfG04NOUShmx2XIxZ11MVKGrnlyWZHzhIrQhels60MzvXg1mrRuapj7z90 ffWKqM0/otLUBPHs1ipH+c+0MPBFYY+VAguuIdczmjtlqdu+MYA/X7i3k0vIuDRx7+qk ZPYoXGEBNacvmRU7s+mDa0OIYvlG7Qy/ZkLwqXcSONNTpBxzRC2N/hq92+1C1H2zf+pu RHlERBvytwqTMQrQTRmE/sI1bzGL77nPfGWpLGxsflZZ34o2ooIOChklFhKpNpzZP0IA ls5xzi90ViWkOkDAu73QgsZuV1DZ3gZ1+VzwIRNAkKpZ7p0G9fIzTmrNQwPXP5IC0OCA 6OhQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=yU1zFn7z; spf=pass (google.com: domain of linux-leds-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-leds-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 v11si4267271eja.569.2021.05.28.02.07.01 for ; Fri, 28 May 2021 02:07:01 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-leds-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=yU1zFn7z; spf=pass (google.com: domain of linux-leds-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-leds-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 S236340AbhE1JIa (ORCPT ); Fri, 28 May 2021 05:08:30 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:45272 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S236455AbhE1JIS (ORCPT ); Fri, 28 May 2021 05:08:18 -0400 Received: from mail-wm1-x331.google.com (mail-wm1-x331.google.com [IPv6:2a00:1450:4864:20::331]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id B056DC061349 for ; Fri, 28 May 2021 02:06:40 -0700 (PDT) Received: by mail-wm1-x331.google.com with SMTP id 16so1686107wmj.5 for ; Fri, 28 May 2021 02:06:40 -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=wQaiNSE7un6ReV9xY9B/S7XjK0Kbs8xr+fZEepz4I8k=; b=yU1zFn7zCAlBTiOADJg/JAqk0hVjBbGOO/x5LjIrPZGuOn/uq7O4Q1fIUOhayuVBpS HZtHww+855kuEsuCg03+OtxoIkdM+0eohBonn+Rj2odQwoOFOLWKAevPm7+xAwPLwRRX BeXHATNHfQTencjFqEUnFCoeXBc2YRzT/9a4EyzIBGFkMWUdRkKr7i6saIrWzC5mk3cZ hL16RVsshvZFDYOLdlO1Z4FD6TIRPzAM8R/96CmrdNVVrq29nht2XOkdoYzJusJNYPq7 dCxF7jl56OZSn6KyhClb2PvJNx8HPisjARNifO2rreUGDIJDiHZbLCOKN3TT3etPJd6V 9OUQ== 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=wQaiNSE7un6ReV9xY9B/S7XjK0Kbs8xr+fZEepz4I8k=; b=QKzvq6bAagBvttfXABWlpO5J7ZIMjeNrpJKbEx8goNe4pKbkmOzFtIZPYiazsDAcoV TEPRaipPEc7s48e0j+JfOskr6wQVEyBysXxnBh9fzb9kqN9GpYwYql9gIjD45yE1ixMa aWiYXDrOKOQTSUEnAxvLOYIR3q9vAHiAZYo5z63MIsla4lpUarFcZHGezxcOR2A9D97t SzOdrWVfxXnFU5phcGNwryiNDgw3oTiNJDM2dpnTajgtulcEQW3EjnBFlHz7V1mTr9Iv u/0qqovnUigiqH+MMqhpr/qUw0VKqrZgJb0p0cEEbh7NnBpDyJinYhxgh2rtKEWatgmY gM2w== X-Gm-Message-State: AOAM533cWA3SK+bYNI5jQlsfDc1SmN0hhCs3HH3kHb0fMiIKtKIOMJyQ SCtz0tNXpPqOw9xzDpY8ijEjsg== X-Received: by 2002:a7b:c3d4:: with SMTP id t20mr7311621wmj.13.1622192799358; Fri, 28 May 2021 02:06:39 -0700 (PDT) Received: from dell.default ([91.110.221.223]) by smtp.gmail.com with ESMTPSA id m132sm6105911wmf.11.2021.05.28.02.06.38 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 28 May 2021 02:06:38 -0700 (PDT) From: Lee Jones To: lee.jones@linaro.org Cc: linux-kernel@vger.kernel.org, Pavel Machek , David Rivshin , linux-leds@vger.kernel.org Subject: [PATCH 07/15] leds: leds-is31fl32xx: Provide missing description for member 'sw_shutdown_func' Date: Fri, 28 May 2021 10:06:21 +0100 Message-Id: <20210528090629.1800173-8-lee.jones@linaro.org> X-Mailer: git-send-email 2.31.1 In-Reply-To: <20210528090629.1800173-1-lee.jones@linaro.org> References: <20210528090629.1800173-1-lee.jones@linaro.org> MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: linux-leds@vger.kernel.org Fixes the following W=1 kernel build warning(s): drivers/leds/leds-is31fl32xx.c:85: warning: Function parameter or member 'sw_shutdown_func' not described in 'is31fl32xx_chipdef' Cc: Pavel Machek Cc: David Rivshin Cc: linux-leds@vger.kernel.org Signed-off-by: Lee Jones --- drivers/leds/leds-is31fl32xx.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) -- 2.31.1 diff --git a/drivers/leds/leds-is31fl32xx.c b/drivers/leds/leds-is31fl32xx.c index 2180255ad3393..3b55af9a8c585 100644 --- a/drivers/leds/leds-is31fl32xx.c +++ b/drivers/leds/leds-is31fl32xx.c @@ -58,7 +58,8 @@ struct is31fl32xx_priv { * @pwm_registers_reversed: : true if PWM registers count down instead of up * @led_control_register_base : address of first LED control register (optional) * @enable_bits_per_led_control_register: number of LEDs enable bits in each - * @reset_func: : pointer to reset function + * @reset_func : pointer to reset function + * @sw_shutdown_func : pointer to software shutdown function * * For all optional register addresses, the sentinel value %IS31FL32XX_REG_NONE * indicates that this chip has no such register. From patchwork Fri May 28 09:06:22 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Lee Jones X-Patchwork-Id: 449493 Delivered-To: patch@linaro.org Received: by 2002:a02:7a1b:0:0:0:0:0 with SMTP id a27csp160270jac; Fri, 28 May 2021 02:07:07 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzASYzBZELb4CssoFC49pxyjFP6u+KhhPhIswYew1dYls/USawNL9N4A1yomkjrmc/mdjO7 X-Received: by 2002:a17:907:76b8:: with SMTP id jw24mr7976075ejc.359.1622192827044; Fri, 28 May 2021 02:07:07 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1622192827; cv=none; d=google.com; s=arc-20160816; b=PLJpwQPI2Oi6EsTSLHLAQryLThXohsA7KIjxaetT9fMyILkzllQOgpcMibSzzX2zZA JFYyokNgr5CvKFrQ9OnYXIt5rcXz9iZFesnbstzFlCKx//y3r0PmeRz9lFajOv/+W+i9 xtCkxR0ng4M/TSzwqHHinwZn6HouQGyPHNUpsTBzgk6nv1zr/9EdTa0SDw9QijM20OuS yEWxiuD6GntwNWwvaRxGeYbPtBlVxmHgTFzrlrIpSrGhO4QXgcSzb7kOP/OfJ7znGeKI qRYgsPuFwvCiX2E3zZvckGpKzkintBzRtShsZeccnkqad1z4wpDF61HpvQ4J/YrGz3Pw +0bw== 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 :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=izuQMEMMW+VSc9OVASrpIkHNe2Xs+yvcMC2k0L7tAoU=; b=kA2aQT2tWTpYW3pMd0UmLgOY6KtNO88L3TGDXxWc/X5NyhhdqNtq+A82vBR4JRe2vJ 1V/9bVt7FNT7PqWatJJVrBJl1Z/3nurTMmwvfaj+U5iWlhkgrmu1U4CqC9j4kgwNs+NY Xoxiuju5hz6/APShA8upkgSaFTe7UNltmiW5nT2pDK6t+TNSkyqqUKJ2gH6jmfbSZj63 MDHK3yywI4gaLBS0UloveyQWMcqrLSEBqh5/Ks8Jyorrw//k83BJvOo8GLvMJPSe5O7h 1xs8IhynS0FrlhSxpYX+xbB2jtbO4nP5Wxn5eYx/7l27ynsaLE/89vKEktDS9NOkVLTG Oi+A== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=M0LyaurP; spf=pass (google.com: domain of linux-leds-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-leds-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 v11si4267271eja.569.2021.05.28.02.07.06 for ; Fri, 28 May 2021 02:07:07 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-leds-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=M0LyaurP; spf=pass (google.com: domain of linux-leds-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-leds-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 S236596AbhE1JId (ORCPT ); Fri, 28 May 2021 05:08:33 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:45162 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S236077AbhE1JIW (ORCPT ); Fri, 28 May 2021 05:08:22 -0400 Received: from mail-wr1-x42b.google.com (mail-wr1-x42b.google.com [IPv6:2a00:1450:4864:20::42b]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id B01F3C06134C for ; Fri, 28 May 2021 02:06:41 -0700 (PDT) Received: by mail-wr1-x42b.google.com with SMTP id x7so2495308wrt.12 for ; Fri, 28 May 2021 02:06:41 -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=izuQMEMMW+VSc9OVASrpIkHNe2Xs+yvcMC2k0L7tAoU=; b=M0LyaurPykpg2ovwwTbfc2RvbZXclfce3ouSgUunjMtdmY6lMkrnQHDT1fyJ4xJSU2 C3wBCtjJtH93o0ehG5LBY8PrKiC0xLRd/rKWZYzsjBQciV08nkcnOG8xp/F1ehDUZARJ bkpIk1wi9jNWMjVl9obYu50odRkOOzNlMipAYrAb50riV9X5/YGGg7X8xjG0rIW3FZ/E gRz+e5qCeMx0FmfWHIIC6IEIkTMws8LvRPzREdzOhGKZPpg4B8MlNXRzDM/MVs0S8qKj PV16uxKyLhhILpR61k+HBrbEw8PVuu8YZubemVbzKwsLYc8lhMdiHz8ijoBl+0C98WIf cotw== 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=izuQMEMMW+VSc9OVASrpIkHNe2Xs+yvcMC2k0L7tAoU=; b=aITVcsCapUN0F3ogDIul5tyNlR+yaJem/7F43N7VpzNjsxlPQYolIiP3LNobnT0jvk eTzjkCpWqZ7BsxUr+NYcajVwm/0sOB5F30o6hwEnlgUj+h2upKJrzlIe7wPkPWnZTNsK 2YV+7wJZkwfU0wzzzltFWyF/nhSKkN3nNLwzZjQnmNlss+BvhOid8PTWWYyUYKCkBSJB gvMPWLktr9dMYFEz529HJF/FP5x/Ea8XuUzazaYDGhAABmgqHiJnP2PiHU4fsPhxsvVP bx/AfSR7qJN2rsW7mMdzmpdz7FiUFbyiVucyqFbkG1khK+rbdBpq11vsm8vIA8A/KdN1 /kbQ== X-Gm-Message-State: AOAM531eNbPtYUajWjFDfMi89kwc5xwimu/RPMYjIy+q/Bbe9H0KORdB qJdyozDxcdRrx/O2acNhgarzkA== X-Received: by 2002:a5d:6b91:: with SMTP id n17mr7444051wrx.67.1622192800290; Fri, 28 May 2021 02:06:40 -0700 (PDT) Received: from dell.default ([91.110.221.223]) by smtp.gmail.com with ESMTPSA id m132sm6105911wmf.11.2021.05.28.02.06.39 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 28 May 2021 02:06:39 -0700 (PDT) From: Lee Jones To: lee.jones@linaro.org Cc: linux-kernel@vger.kernel.org, Pavel Machek , Antonio Ospite , linux-leds@vger.kernel.org Subject: [PATCH 08/15] leds: leds-lp3944: Provide missing function names in documentation headers Date: Fri, 28 May 2021 10:06:22 +0100 Message-Id: <20210528090629.1800173-9-lee.jones@linaro.org> X-Mailer: git-send-email 2.31.1 In-Reply-To: <20210528090629.1800173-1-lee.jones@linaro.org> References: <20210528090629.1800173-1-lee.jones@linaro.org> MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: linux-leds@vger.kernel.org Fixes the following W=1 kernel build warning(s): drivers/leds/leds-lp3944.c:95: warning: This comment starts with '/**', but isn't a kernel-doc comment. Refer Documentation/doc-guide/kernel-doc.rst drivers/leds/leds-lp3944.c:126: warning: This comment starts with '/**', but isn't a kernel-doc comment. Refer Documentation/doc-guide/kernel-doc.rst drivers/leds/leds-lp3944.c:158: warning: This comment starts with '/**', but isn't a kernel-doc comment. Refer Documentation/doc-guide/kernel-doc.rst Cc: Pavel Machek Cc: Antonio Ospite Cc: linux-leds@vger.kernel.org Signed-off-by: Lee Jones --- drivers/leds/leds-lp3944.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) -- 2.31.1 diff --git a/drivers/leds/leds-lp3944.c b/drivers/leds/leds-lp3944.c index 838e6f19d37e5..437c711b2a27e 100644 --- a/drivers/leds/leds-lp3944.c +++ b/drivers/leds/leds-lp3944.c @@ -92,7 +92,7 @@ static int lp3944_reg_write(struct i2c_client *client, u8 reg, u8 value) } /** - * Set the period for DIM status + * lp3944_dim_set_period() - Set the period for DIM status * * @client: the i2c client * @dim: either LP3944_DIM0 or LP3944_DIM1 @@ -123,7 +123,7 @@ static int lp3944_dim_set_period(struct i2c_client *client, u8 dim, u16 period) } /** - * Set the duty cycle for DIM status + * lp3944_dim_set_dutycycle - Set the duty cycle for DIM status * * @client: the i2c client * @dim: either LP3944_DIM0 or LP3944_DIM1 @@ -155,7 +155,7 @@ static int lp3944_dim_set_dutycycle(struct i2c_client *client, u8 dim, } /** - * Set the led status + * lp3944_led_set() - Set the led status * * @led: a lp3944_led_data structure * @status: one of LP3944_LED_STATUS_OFF From patchwork Fri May 28 09:06:23 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Lee Jones X-Patchwork-Id: 449494 Delivered-To: patch@linaro.org Received: by 2002:a02:7a1b:0:0:0:0:0 with SMTP id a27csp160275jac; Fri, 28 May 2021 02:07:07 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwNcpgr8KLJB53ljLVG8DTgFmbFHxns8HErYqmucEORclXw0nWO1n2vN1CrMsrj3J9TP6+Q X-Received: by 2002:a17:906:318b:: with SMTP id 11mr7824126ejy.395.1622192827384; Fri, 28 May 2021 02:07:07 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1622192827; cv=none; d=google.com; s=arc-20160816; b=r7v59qjmbdhyYF4UoxSN9KJzP5vzo0wshgsxhGnt0Gd8T9DbbrKa1ZfzSJ5sdexA9O a9OCOmNRv0rU34o0RodPIEEBwdjWnfBDpzBGwb5FTma5qAb56vzUWlFqjAVrzyeiE95o y4IJDRPulfJ2QvbyrKR9mn7bWcOarnc+hEXFhxtFQrEk9IIBI3K08EyBzC0BeADPGoHz 1mhWy9UEpIKA5MouhvAFH+1Bq1ZRtPpqq0NoONoe+gDOJVqNYp9uIw3lWQ1E623901um T/nLb6OWuwuKO7tnbEso9tEOKCRtAo6YwPTyuMECg+2NC95gq74xL59WNySQaAWuSFKR 5AKA== 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 :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=mLS0FB17HbpmmfumllhmqVSElRMK/rukxZufYJ+uM3w=; b=VkGGu6/YBdhmsbgS5T47vLqLouL+XcuScHx8HHwbUE621sy3szBtIj9lOfbB0fGw6H I3tqU2fwQOnLuOIr+GchIv+y3VssTRQhHt/2w43WPX07DOsecaDruuDwotb7lzBsgxbO uqvpfORBtscx533FXF/jghHnWYZuzmz+aB4QN4yVyzSLzaMgjwdCOrNGE0LP7uYjDT/f aNvDqO3hNC9OlTuHyQMM3FT6CKTjM2cHcadTEpaUndZEkh8Njt6D9SZMls6PdFj/wxJl CUevjUbbWJgo+tV164LQNVaB7naDdW6yJxoeMhnGcNfVofZlW8B48n+VsWwZ2eMvWY0w r8Jg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=IqJBFrZK; spf=pass (google.com: domain of linux-leds-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-leds-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 v11si4267271eja.569.2021.05.28.02.07.07 for ; Fri, 28 May 2021 02:07:07 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-leds-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=IqJBFrZK; spf=pass (google.com: domain of linux-leds-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-leds-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 S236601AbhE1JIe (ORCPT ); Fri, 28 May 2021 05:08:34 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:45202 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S236436AbhE1JIY (ORCPT ); Fri, 28 May 2021 05:08:24 -0400 Received: from mail-wr1-x42d.google.com (mail-wr1-x42d.google.com [IPv6:2a00:1450:4864:20::42d]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id A56ABC06134D for ; Fri, 28 May 2021 02:06:42 -0700 (PDT) Received: by mail-wr1-x42d.google.com with SMTP id q5so2541612wrs.4 for ; Fri, 28 May 2021 02:06:42 -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=mLS0FB17HbpmmfumllhmqVSElRMK/rukxZufYJ+uM3w=; b=IqJBFrZK3QQeSM0UFkIbJaJKRS77W9bionIX5fp+IQ43LnTYpvKqSz3wW/gKYQ/Ptt SYcDqy0h4GTSLCN5CWR4LGpIYMRnyiXncFOG5yEdlJxur5zCrCIWMoOHUxMLnatYYYPH NVXioJ6ubPbLKVn+ZWVQdoY/Qp3l0sPtH6K8hfYj/DA36+x7+CE1RbZByV5PgV9qcFV7 ZuXXmJap1RiDM57tpVQG7qJrfVUVcBRUuAGRhlGhOBytjp+XNSgV7XR9urEsr6RLxvsQ 0uXdWSKxiZcZZa4GGJD4N1FM9DM+9XnnkXvcsQHbxHmZhmnop8rUMVpoGVuz5mcnRXy1 wQmg== 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=mLS0FB17HbpmmfumllhmqVSElRMK/rukxZufYJ+uM3w=; b=b4Jjw2tjdMXhLz3iC6i+t37UCfukgdykKf7fmWyj3Zi/kZbmRW8DUqEjPusLOarUbr mReIcL2HOt8ezshVUtnDaOXvTE7IZYheQKGMHpQvPtl/vw0gfUSLkxDIFt7VsZqUmJC3 utgTmrMVY5oV2/Oihs4q3W0Ry2rBqzoRqG8DYxPGEAqvDbxedJrEHNiygo81a6bjTe2P G9ID01GLhOp07L+fXmh5HjJVjLKKnqQXy7jw68SJHRDZ9Ar0ng5x7QMgNy6mVJWUXBBy WlUIrEwrhm6suCEyc7PWxahHUM4KcXVVUnOdwEZO+PAnT8jYyWEwYmrtTPt8kKRH8Fzv abyw== X-Gm-Message-State: AOAM5318ebMwkSz+rs//lX6LfOxYBnJeByU7Z7DiAKOIWoWAo01fI5DS X01+ip+X4SvgKxsga4GEENpI4g== X-Received: by 2002:adf:cd0e:: with SMTP id w14mr7561654wrm.46.1622192801276; Fri, 28 May 2021 02:06:41 -0700 (PDT) Received: from dell.default ([91.110.221.223]) by smtp.gmail.com with ESMTPSA id m132sm6105911wmf.11.2021.05.28.02.06.40 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 28 May 2021 02:06:40 -0700 (PDT) From: Lee Jones To: lee.jones@linaro.org Cc: linux-kernel@vger.kernel.org, Pavel Machek , Kumar SAHU , Dan Murphy , linux-leds@vger.kernel.org Subject: [PATCH 09/15] leds: leds-lm3530: Fix incorrect spelling of 'brightness' Date: Fri, 28 May 2021 10:06:23 +0100 Message-Id: <20210528090629.1800173-10-lee.jones@linaro.org> X-Mailer: git-send-email 2.31.1 In-Reply-To: <20210528090629.1800173-1-lee.jones@linaro.org> References: <20210528090629.1800173-1-lee.jones@linaro.org> MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: linux-leds@vger.kernel.org Fixes the following W=1 kernel build warning(s): drivers/leds/leds-lm3530.c:113: warning: Function parameter or member 'brightness' not described in 'lm3530_data' Cc: Pavel Machek Cc: Kumar SAHU Cc: Dan Murphy Cc: linux-leds@vger.kernel.org Signed-off-by: Lee Jones --- drivers/leds/leds-lm3530.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) -- 2.31.1 diff --git a/drivers/leds/leds-lm3530.c b/drivers/leds/leds-lm3530.c index 2db455efd4b17..e72393534b721 100644 --- a/drivers/leds/leds-lm3530.c +++ b/drivers/leds/leds-lm3530.c @@ -99,7 +99,7 @@ static struct lm3530_mode_map mode_map[] = { * @pdata: LM3530 platform data * @mode: mode of operation - manual, ALS, PWM * @regulator: regulator - * @brighness: previous brightness value + * @brightness: previous brightness value * @enable: regulator is enabled */ struct lm3530_data { From patchwork Fri May 28 09:06:24 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Lee Jones X-Patchwork-Id: 449495 Delivered-To: patch@linaro.org Received: by 2002:a02:7a1b:0:0:0:0:0 with SMTP id a27csp160280jac; Fri, 28 May 2021 02:07:07 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwBCWUpnURMvmaZ+8f/Q3wEuusd8YPZXjadCchCD//s0cIB5IqF+Zpktlv4IwODoiVkL0XX X-Received: by 2002:a17:907:2dab:: with SMTP id gt43mr8177087ejc.369.1622192827740; Fri, 28 May 2021 02:07:07 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1622192827; cv=none; d=google.com; s=arc-20160816; b=BBt1UPowN3ZiLgb24uI9FhitDOChzn4Snh1oVoo8RmTp/VKQhorEobhFvM23ljmkrS mnkcPc/mxRz6rOX5wfbjBNCZ0tzpcQ8exeJxCPPk1k2ImtFgQksozhjU1TvJDUAO7FJx FH36H7imfddrotjA970S9pyp+82IMO1G+GCBdV36WuJlgZFzTpOXP8lma4bla6WwQRrq EWAeg5K+Y6KeN3xgmyahq8fwEBwTuoOciEENP1xkVOtYSy30oVD+SAup4E1YLZmbQdQ8 XgMGQYP9W2nFgvZ+skqsuCpX3V3CFwuYMmP1W6IXZ8SHZYMkXRTL2+GD0qTKy2NIZ1px aMxA== 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 :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=B561knCm3hMdwiY1zEm2fk2A2w3U3tZY38Y+WeeFnKA=; b=mtRCBgAHFQ2DgOHYA89uqOM/jQRNdyQZfgQfcJRtLtRzA3XLfKfGUvagNSibj3zvhg 9f2iGQf8UyYT3s7mZb/kXMYzg5a2dlB8/1Kpwe1qN4OyIDc6mhlO7Zgzni811RLbrExu 9uteuUuo80f3Qmy96QvJ/aiN1SlPQdeKo2+njwF5EaUIsVWeJbD3ObgW79MK+uSo7SIj ufc3oJ8lWoX9Ih71s7OoOq5BxgxTyvJs/uDEXYQDsdJZHZi/hbevPj6duKFGYU2hUFsd rdv1+c2sWfkWaCGuT8Hwp4zSoMPibD9ejByYyXds2S49E/RELwsqNgK6jBeNHu7OuMNb dVFA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=ORxRl4Hq; spf=pass (google.com: domain of linux-leds-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-leds-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 v11si4267271eja.569.2021.05.28.02.07.07 for ; Fri, 28 May 2021 02:07:07 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-leds-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=ORxRl4Hq; spf=pass (google.com: domain of linux-leds-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-leds-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 S236436AbhE1JIf (ORCPT ); Fri, 28 May 2021 05:08:35 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:45242 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S236441AbhE1JIZ (ORCPT ); Fri, 28 May 2021 05:08:25 -0400 Received: from mail-wm1-x32a.google.com (mail-wm1-x32a.google.com [IPv6:2a00:1450:4864:20::32a]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 8F787C06134E for ; Fri, 28 May 2021 02:06:43 -0700 (PDT) Received: by mail-wm1-x32a.google.com with SMTP id m18so1728822wmq.0 for ; Fri, 28 May 2021 02:06:43 -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=B561knCm3hMdwiY1zEm2fk2A2w3U3tZY38Y+WeeFnKA=; b=ORxRl4HqzfacHOjojVZ6eUN7HB/IbfDkpH80yFSWIcdvebHO7mRzr668pDtgbjdwqt zTgQNWdQbDjl0yT+DdsuWcVuvqXeNd2V8Il6g9nHU71IKaUOvnUUeDsbbt1UX4kx086O OSUMcULAT3essaJkrtjJ5DIBF0xkkU9iwwYCyO7kSENJS8lv3NfewQNwR8DviaRrK1b7 aVHleD2WTGkv/vUTNrIaqZmt2r224o4AVxbmlAOTkGC623qoI5qKg4S1WPKmMxJNXak2 7TC0knhtAac7HgluAz0DrqQhC7T7/LT2wv/r51PrHeHlb/Q2jc4YOhqjNguTLJjOsoTv M8bA== 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=B561knCm3hMdwiY1zEm2fk2A2w3U3tZY38Y+WeeFnKA=; b=jwres88DZwH1UElGtA3OXP6nAA7fOuGXtRNBdCLZJwXQe3N5n9bdLuOjAoJKxlI5Eu 12aA3J2hfOsPyqIYwJO1eD0ugs9+RK255lSrftU6df8IupZ8WrzgAzKEL8A54si4Jo4b QVIW49yhFP3BhNbF1/RIlmvUi4Rk7HrPogFf3RgptljujaAFcH6p66siU4bL53+Mvsx6 SSc5nxmFc64sJZoN7DEAgsgBvtOyFXimuhNc+csG2rs/a8XUaPqOqVwRH5N6pDFEztYu pUmlYq8fO/N+S48TI6MbEf18/dYjGmMg48OhY4bPOpwd2TNvK2dRkhW39wdI+iaVyo2H gLAA== X-Gm-Message-State: AOAM531mOrXrit5q678XEtozVMtK8/4XjoQ8udUYoDCvRnBddRbiezS0 c4kWxdMjHXdJONNx7hxZQP9qzg== X-Received: by 2002:a05:600c:3586:: with SMTP id p6mr12604476wmq.48.1622192802227; Fri, 28 May 2021 02:06:42 -0700 (PDT) Received: from dell.default ([91.110.221.223]) by smtp.gmail.com with ESMTPSA id m132sm6105911wmf.11.2021.05.28.02.06.41 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 28 May 2021 02:06:41 -0700 (PDT) From: Lee Jones To: lee.jones@linaro.org Cc: linux-kernel@vger.kernel.org, Pavel Machek , Liam Girdwood , Mark Brown , Dan Murphy , linux-leds@vger.kernel.org Subject: [PATCH 10/15] leds: leds-lm3692x: Fix some kernel-doc formatting issues Date: Fri, 28 May 2021 10:06:24 +0100 Message-Id: <20210528090629.1800173-11-lee.jones@linaro.org> X-Mailer: git-send-email 2.31.1 In-Reply-To: <20210528090629.1800173-1-lee.jones@linaro.org> References: <20210528090629.1800173-1-lee.jones@linaro.org> MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: linux-leds@vger.kernel.org Fixes the following W=1 kernel build warning(s): drivers/leds/leds-lm3692x.c:121: warning: Function parameter or member 'lock' not described in 'lm3692x_led' drivers/leds/leds-lm3692x.c:121: warning: Function parameter or member 'client' not described in 'lm3692x_led' drivers/leds/leds-lm3692x.c:121: warning: Function parameter or member 'led_dev' not described in 'lm3692x_led' drivers/leds/leds-lm3692x.c:121: warning: Function parameter or member 'regmap' not described in 'lm3692x_led' drivers/leds/leds-lm3692x.c:121: warning: Function parameter or member 'enable_gpio' not described in 'lm3692x_led' drivers/leds/leds-lm3692x.c:121: warning: Function parameter or member 'regulator' not described in 'lm3692x_led' drivers/leds/leds-lm3692x.c:121: warning: Function parameter or member 'led_enable' not described in 'lm3692x_led' drivers/leds/leds-lm3692x.c:121: warning: Function parameter or member 'model_id' not described in 'lm3692x_led' drivers/leds/leds-lm3692x.c:121: warning: Function parameter or member 'boost_ctrl' not described in 'lm3692x_led' drivers/leds/leds-lm3692x.c:121: warning: Function parameter or member 'brightness_ctrl' not described in 'lm3692x_led' drivers/leds/leds-lm3692x.c:121: warning: Function parameter or member 'enabled' not described in 'lm3692x_led' Cc: Pavel Machek Cc: Liam Girdwood Cc: Mark Brown Cc: Dan Murphy Cc: linux-leds@vger.kernel.org Signed-off-by: Lee Jones --- drivers/leds/leds-lm3692x.c | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) -- 2.31.1 diff --git a/drivers/leds/leds-lm3692x.c b/drivers/leds/leds-lm3692x.c index e945de45388ca..a2ab6bd5de111 100644 --- a/drivers/leds/leds-lm3692x.c +++ b/drivers/leds/leds-lm3692x.c @@ -96,15 +96,15 @@ #define LM3692X_FAULT_FLAG_OPEN BIT(4) /** - * struct lm3692x_led - - * @lock - Lock for reading/writing the device - * @client - Pointer to the I2C client - * @led_dev - LED class device pointer - * @regmap - Devices register map - * @enable_gpio - VDDIO/EN gpio to enable communication interface - * @regulator - LED supply regulator pointer - * @led_enable - LED sync to be enabled - * @model_id - Current device model ID enumerated + * struct lm3692x_led + * @lock: Lock for reading/writing the device + * @client: Pointer to the I2C client + * @led_dev: LED class device pointer + * @regmap: Devices register map + * @enable_gpio: VDDIO/EN gpio to enable communication interface + * @regulator: LED supply regulator pointer + * @led_enable: LED sync to be enabled + * @model_id: Current device model ID enumerated */ struct lm3692x_led { struct mutex lock; From patchwork Fri May 28 09:06:25 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Lee Jones X-Patchwork-Id: 449496 Delivered-To: patch@linaro.org Received: by 2002:a02:7a1b:0:0:0:0:0 with SMTP id a27csp160302jac; Fri, 28 May 2021 02:07:09 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzyBsfRUUmnahFZnMZqcomayxjDm2nAgh9DL5AW6odnLmWXBonLtYXclp5LcXE8Dmb0WR54 X-Received: by 2002:a05:6402:3585:: with SMTP id y5mr8788149edc.121.1622192829669; Fri, 28 May 2021 02:07:09 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1622192829; cv=none; d=google.com; s=arc-20160816; b=u0XcMJDoqYwnDYULdZDtH2zQtG3tqE38mdLUOJpoIVFaMkpDxRu2GDttO7DdJq+UMQ wBLOeA1NGZadXEA5ouTN2X2CPopPa5BHFAV1RxySUGmUHUr5ATzQj61w6cdFyy1Jlff6 8ID92cBIhO4kyBxm1WBwwRCfNX0VCq3T3ZGHlQvTw8RgKq6fSr8XeLhSRPOeTnDsHgLg wDRBDSOE18B+toIDrfxqw7ZLx87RbMrtxQrA971glqrW5B9at1tUfZh9/KSaPjDObMxe vU1XZBKq10JAWplIc03lTJAMmNfpUZP2Ji74g/2hdtsB1DA/f3USo7A4oLMkhHQFYjnW J2cw== 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 :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=qo0P3VAUaaC0rGaccceg1Xwi3VOmQzxxnDFSUtDbQVY=; b=hpTnV5mDPmPa+X0Xg6MbTs4cwcK1oBHjvLOaruSMB/l6+gXGOU9N7InJWI4xZ9bw/x c1ha5TPmy8AbvmALHqB7EmYexH0T0xgOaGlLs3ukfdq05E7kSIn5DxUbcwT64a2ZDgYb 759Dy6GdJlQ2Jd6e3hoRImRr/oGuujbM4qRaU+rMlwR+g58mVIzPWnEhCQFDFYD/f5vW bRw10Su33TFfRMpE1kGyiV91HGu8DtD7fHQ9s8FJBaDUoRCdQSia8/wRzLwCihR933b3 8UwObjVr31gpo7PUDip6aOj4gkc/+1F1xBR7ttgm4uK6mG4764zWbwXxM0EkNne0iLxu wnAw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=xkMc8n03; spf=pass (google.com: domain of linux-leds-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-leds-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 v11si4267271eja.569.2021.05.28.02.07.09 for ; Fri, 28 May 2021 02:07:09 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-leds-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=xkMc8n03; spf=pass (google.com: domain of linux-leds-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-leds-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 S236631AbhE1JIk (ORCPT ); Fri, 28 May 2021 05:08:40 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:45254 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S236161AbhE1JI0 (ORCPT ); Fri, 28 May 2021 05:08:26 -0400 Received: from mail-wm1-x336.google.com (mail-wm1-x336.google.com [IPv6:2a00:1450:4864:20::336]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id A5239C061760 for ; Fri, 28 May 2021 02:06:44 -0700 (PDT) Received: by mail-wm1-x336.google.com with SMTP id f17so270930wmf.2 for ; Fri, 28 May 2021 02:06:44 -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=qo0P3VAUaaC0rGaccceg1Xwi3VOmQzxxnDFSUtDbQVY=; b=xkMc8n03C9qNMBP/ffDVyelt5dkLTk0NiMhYljGoR9aSGgQ9Cs4GyIJmg18iZB2QTS ywpN6CG8rPcBrlOQPylthnjZSEQBfHZYL95JU0Vefkra+p1LqvDZKZc5CpJtxgMXqzjj XrQwfzp+S30Xwf9eOg69yPkLUkm14RL/vJHfIyuCoWP6j6AcVgunnc/RFnlE73AEcMtm vJabvm6+dlKL3OWCZHz2FGFA86bo9k25qMtJhA8AZxXXH93C3/eW+4nZcg8VNIFI3BNV faRaKQX+SzN65xqgCNBxGl0Hw1W0QHyK1dJJmcJPkji1eskeJs08uCI+goiABDlKS9Uc 8V2w== 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=qo0P3VAUaaC0rGaccceg1Xwi3VOmQzxxnDFSUtDbQVY=; b=Su4YFgtb9sk+xBiVBpa2yk/yxlWqpdFr01pTcN2Pc+AilbyCwzDupdi8Wy8+nqMxYW 5Dd+Pozte29EndfX0Xqm1DgQDagxXtBBGPOlL9BE5aJgEoxCAn1bmMUyVsew02R4jzqW bZZ0FzR4xWo8LRpORLYkwGSsYN+jIr+17L/b0cUJ71iqhd0zURO8y6mA5wJdlXwvjl6/ rHlO9fqousFFxR7bLcuMFa/6C26XBAgiTEL8fRxSI/oc2vpUM9ZyaK33CmYU07NMOdA3 n5fQ6kTMqjjfmAyrbnVzLaQKJ7MuKmd8QW56cR6mQ67w0K/bms54t3XzY7FMce05bh8v F9RQ== X-Gm-Message-State: AOAM531Tk4c8kOLsOvxIO+/2rSbmSPz95CO2GTdv9EJQb10lawCrD3Le 25g2biapclqp4XNp0FeE6+hmng== X-Received: by 2002:a7b:c24a:: with SMTP id b10mr12362865wmj.157.1622192803306; Fri, 28 May 2021 02:06:43 -0700 (PDT) Received: from dell.default ([91.110.221.223]) by smtp.gmail.com with ESMTPSA id m132sm6105911wmf.11.2021.05.28.02.06.42 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 28 May 2021 02:06:42 -0700 (PDT) From: Lee Jones To: lee.jones@linaro.org Cc: linux-kernel@vger.kernel.org, Pavel Machek , Dan Murphy , linux-leds@vger.kernel.org Subject: [PATCH 11/15] leds: leds-lm3697: Provide some missing descriptions for struct members Date: Fri, 28 May 2021 10:06:25 +0100 Message-Id: <20210528090629.1800173-12-lee.jones@linaro.org> X-Mailer: git-send-email 2.31.1 In-Reply-To: <20210528090629.1800173-1-lee.jones@linaro.org> References: <20210528090629.1800173-1-lee.jones@linaro.org> MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: linux-leds@vger.kernel.org Fixes the following W=1 kernel build warning(s): drivers/leds/leds-lm3697.c:60: warning: Function parameter or member 'enabled' not described in 'lm3697_led' drivers/leds/leds-lm3697.c:60: warning: Function parameter or member 'num_leds' not described in 'lm3697_led' drivers/leds/leds-lm3697.c:84: warning: Function parameter or member 'bank_cfg' not described in 'lm3697' drivers/leds/leds-lm3697.c:84: warning: Function parameter or member 'num_banks' not described in 'lm3697' Cc: Pavel Machek Cc: Dan Murphy Cc: linux-leds@vger.kernel.org Signed-off-by: Lee Jones --- drivers/leds/leds-lm3697.c | 4 ++++ 1 file changed, 4 insertions(+) -- 2.31.1 diff --git a/drivers/leds/leds-lm3697.c b/drivers/leds/leds-lm3697.c index 7d216cdb91a8a..0d10d12134479 100644 --- a/drivers/leds/leds-lm3697.c +++ b/drivers/leds/leds-lm3697.c @@ -47,6 +47,8 @@ * @lmu_data: Register and setting values for common code * @control_bank: Control bank the LED is associated to. 0 is control bank A * 1 is control bank B + * @enabled: LED brightness level (or LED_OFF) + * @num_leds: Number of LEDs available */ struct lm3697_led { u32 hvled_strings[LM3697_MAX_LED_STRINGS]; @@ -68,6 +70,8 @@ struct lm3697_led { * @dev: Pointer to the devices device struct * @lock: Lock for reading/writing the device * @leds: Array of LED strings + * @bank_cfg: OUTPUT_CONFIG register values + * @num_banks: Number of control banks */ struct lm3697 { struct gpio_desc *enable_gpio; From patchwork Fri May 28 09:06:26 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Lee Jones X-Patchwork-Id: 449497 Delivered-To: patch@linaro.org Received: by 2002:a02:7a1b:0:0:0:0:0 with SMTP id a27csp160306jac; Fri, 28 May 2021 02:07:10 -0700 (PDT) X-Google-Smtp-Source: ABdhPJz5IrDlKAUuRaUTj00c5HexrSLYXETE4kOwD7i7WyiB9xQcnu6CCSsTuy89pGX1pNKwjgal X-Received: by 2002:a05:6402:5211:: with SMTP id s17mr9118797edd.352.1622192830005; Fri, 28 May 2021 02:07:10 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1622192830; cv=none; d=google.com; s=arc-20160816; b=rCcqZGvljE1bB19QZxfSPJJiS0eAHseqReIMoU7PPb1JEzak96nrI6Yv28hr8u+9qa mshEQz2hpQBzHnyetJfADlgwqqlHQ1z5/c+dJtjoWMPoAk9RWkyPcLOVIhdWeexlCn/Y 7KPDZK4F4WjvxEHVNbJksqeOwuFS7czB1ML6V10TveIKeZ29p9pGXIzu5wdBC6mpwpqx otEBMcLgzFgCtGWByFh8gRZsgTfP28umHkm+/LJ3rUvd/fjVGEvd0fyvNeqv9mgDAzmi sMTrGImmq2yq2vdftVfzmtZXbKQWhfSxmlBnc227DrhAfxTrah0KpEwDqFsA9M0XV24M 2kSQ== 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 :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=PSfiWENpoM0SVqY08Fc1sBXBHZUZoCh156k1W1PW9W0=; b=nqzZLcmqTKSuU3f3vK5KDzMHvqgaJPKO5YJyfz4PiLHiAY/HynBdMocjc8TrgC9UCJ KknA5sc+/SBAzOR193t81yqEfQeCTMdAxaR1VGYRZIoU+8WbRcAGT0EOzM2wqgpHJ+NO 2eabqQlbv4GM5TN+lGD8mgnCNPbgXmqG9+b02Te6ahNvFufKNvE9IT5fy4DIto8yi/W/ DupSi4SWdH94wUHtkqGyFAVIKdkDG/Eyj9wVrt5sPTjIopizrlpv76Xcdd9KH5i+Aw9u mgmJ3pjPZtHFNL6DOgT4Ju+VkvRnPQHnxbG8pP7Tr58HI6/3Bhrrd7rhfhxgXNmzsDiD 9z7g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=UEuBzked; spf=pass (google.com: domain of linux-leds-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-leds-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 v11si4267271eja.569.2021.05.28.02.07.09 for ; Fri, 28 May 2021 02:07:09 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-leds-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=UEuBzked; spf=pass (google.com: domain of linux-leds-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-leds-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 S235910AbhE1JIl (ORCPT ); Fri, 28 May 2021 05:08:41 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:45236 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S236488AbhE1JI1 (ORCPT ); Fri, 28 May 2021 05:08:27 -0400 Received: from mail-wm1-x329.google.com (mail-wm1-x329.google.com [IPv6:2a00:1450:4864:20::329]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 6A3D8C061350 for ; Fri, 28 May 2021 02:06:45 -0700 (PDT) Received: by mail-wm1-x329.google.com with SMTP id 16so1686249wmj.5 for ; Fri, 28 May 2021 02:06:45 -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=PSfiWENpoM0SVqY08Fc1sBXBHZUZoCh156k1W1PW9W0=; b=UEuBzkedHEMrTHy5u8204Bozcy2vdO7A2pfhZryB8XNJYAKtfW/LvR3Y4Ytcl1MK75 QTmIJsDrylbrnd58ZY2lYweT4H+qzBD83bEPkIudrOitPmG9m2ejS5nqtxTYptFJYWp+ zVXxR7IgOQ7J9DViQQoUTUJ+iQqH7wU67WS+RdVPS/KLb9eKX3FLklqC+wD5wUeckG3e zyZhM7jvN9xT6Ry4S/Mjybe03xW+sozSBgnfTsBQNRz7liILeaE//+Dn6snL8gMPX2th UEcBNROeLD0nNAP0VVmQEiGI9q6bzL2VlduVI6JhiIb6RrmcdK/oeui66yqWfh9WX8vV iU/g== 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=PSfiWENpoM0SVqY08Fc1sBXBHZUZoCh156k1W1PW9W0=; b=KPJ+e1CsDu/48GMWkTmSgDhSlydFPunBmarN5c94Brdv9/UOtGb6KmA1Xss00xxCe6 MNYgPz+uYEmR5NyVta7go5jisW9e5AYt3dIJ2g8cb4wTciSAXL8v9mst3QaT5OoyNB7C GokmKcfgnllnLa9IrLSUfdadHBitgxW63bZL7gB/8aSVGsxnNAAOZVz1Z40CT0eALbmO Qeq5s1KZcEESLHeGBATF0caX+QiyXfWCXkwM5cwMB8a4gS/Y21uwfaNTo9dsVVr8Be1M DeuFhoEz6W0/Kfs+30Y8L0LvWjs6P+bvyVrhcbbIoVmtdP/OdpV6wdVZq8DK/KLsszJZ 0vhQ== X-Gm-Message-State: AOAM530W7Gy3Yy9a1wJiG2RydgiSYyYFMWsby9EmAoQKYwvEL72Rit4H S6upDPY3iVXGzNltKrSWNk9L2g2HwoKo7A== X-Received: by 2002:a05:600c:2f17:: with SMTP id r23mr7369609wmn.94.1622192804096; Fri, 28 May 2021 02:06:44 -0700 (PDT) Received: from dell.default ([91.110.221.223]) by smtp.gmail.com with ESMTPSA id m132sm6105911wmf.11.2021.05.28.02.06.43 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 28 May 2021 02:06:43 -0700 (PDT) From: Lee Jones To: lee.jones@linaro.org Cc: linux-kernel@vger.kernel.org, Vadim Pasternak , Pavel Machek , linux-leds@vger.kernel.org Subject: [PATCH 12/15] leds: leds-mlxreg: Fix incorrect documentation of struct member 'led_cdev' and 'led_cdev_name' Date: Fri, 28 May 2021 10:06:26 +0100 Message-Id: <20210528090629.1800173-13-lee.jones@linaro.org> X-Mailer: git-send-email 2.31.1 In-Reply-To: <20210528090629.1800173-1-lee.jones@linaro.org> References: <20210528090629.1800173-1-lee.jones@linaro.org> MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: linux-leds@vger.kernel.org Fixes the following W=1 kernel build warning(s): drivers/leds/leds-mlxreg.c:42: warning: Function parameter or member 'led_cdev' not described in 'mlxreg_led_data' drivers/leds/leds-mlxreg.c:42: warning: Function parameter or member 'led_cdev_name' not described in 'mlxreg_led_data' Cc: Vadim Pasternak Cc: Pavel Machek Cc: linux-leds@vger.kernel.org Signed-off-by: Lee Jones --- drivers/leds/leds-mlxreg.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) -- 2.31.1 diff --git a/drivers/leds/leds-mlxreg.c b/drivers/leds/leds-mlxreg.c index 82aea1cd0c125..b7855c93bd725 100644 --- a/drivers/leds/leds-mlxreg.c +++ b/drivers/leds/leds-mlxreg.c @@ -28,10 +28,11 @@ * struct mlxreg_led_data - led control data: * * @data: led configuration data; - * @led_classdev: led class data; + * @led_cdev: led class data; * @base_color: base led color (other colors have constant offset from base); * @led_data: led data; * @data_parent: pointer to private device control data of parent; + * @led_cdev_name: class device name */ struct mlxreg_led_data { struct mlxreg_core_data *data; From patchwork Fri May 28 09:06:27 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Lee Jones X-Patchwork-Id: 449499 Delivered-To: patch@linaro.org Received: by 2002:a02:7a1b:0:0:0:0:0 with SMTP id a27csp160336jac; Fri, 28 May 2021 02:07:11 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwerYynl+zMF9kcR+WuryvBYYYKD8PZfxZZ/JWhVszaPuqZjL9WLOm0muvww2GpvRxczczY X-Received: by 2002:aa7:d70e:: with SMTP id t14mr8710810edq.377.1622192831806; Fri, 28 May 2021 02:07:11 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1622192831; cv=none; d=google.com; s=arc-20160816; b=lR8Rp67r0RN74oIWor1L7O5wae+V5EjE05eGXUtERoWx4ehYhUxP2ea9sVZaqL60gT cXB7wSeN0Ayq+j1i5C4GG6bb3WbxjKvQFKwm0mHz3MIulQ5OrZA5IxeMcQ305iohkqw6 YqIeSHEDYWiOYM+lh46UBRuPyjpFkOmZiTwCXcAuEcIqVptOBEDxYaxGU6Pps9YTbDDs TLVm6kXHILzzhgIUsPcnmqXnJkhEQyvRoPOH3nI3S5FQniG8ySDpQJ/WW2jWazkuWR4I da8hRqD2vKkogtu9E1OBax3SPohTwMqJgusOr24ci26lzVw0KBDmm8VggcYnWWhJZGLt zMIg== 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 :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=MgQpzbqJb+8Q9FC/kK1WOOQByL4AxzW1tN2lsosITEI=; b=gklxmGKA/4t+tglpMNpX/QTbIJzMm9DQ3aPTVEKnJBq8p/XdCzcOUOdeXX9p78RuZx epJcP6Z0ykf82i3+9XwpwcSxr6tP2CEN3UuoPVRCDqpVTOsmYSnHW+Mc2bohQAXRp2D5 nS9Efyq+PXCWk0umgVhBPe7KUw6DjSSsA5aKpYbICYY3CFRAeKpGQxwPlgo8xBZeZ235 1V78ju64BS9AHBm4Jm1LFMwed7NCXCWVuP1NLy8u/e6TKe0UiMdYvb+0ucezxccWdVbQ 5L4juA7K3cYi9FBOqe1bYeD5P5fAuKRXZZw/9lkb0RHRu3PI6ZCJO5P1CoQMRKAQkx7+ pztQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=K25Oml5n; spf=pass (google.com: domain of linux-leds-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-leds-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 v11si4267271eja.569.2021.05.28.02.07.11 for ; Fri, 28 May 2021 02:07:11 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-leds-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=K25Oml5n; spf=pass (google.com: domain of linux-leds-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-leds-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 S236491AbhE1JIn (ORCPT ); Fri, 28 May 2021 05:08:43 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:45244 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S236497AbhE1JI1 (ORCPT ); Fri, 28 May 2021 05:08:27 -0400 Received: from mail-wr1-x429.google.com (mail-wr1-x429.google.com [IPv6:2a00:1450:4864:20::429]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id A2B46C061353 for ; Fri, 28 May 2021 02:06:46 -0700 (PDT) Received: by mail-wr1-x429.google.com with SMTP id r10so2494351wrj.11 for ; Fri, 28 May 2021 02:06:46 -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=MgQpzbqJb+8Q9FC/kK1WOOQByL4AxzW1tN2lsosITEI=; b=K25Oml5n3hZ/FfnIB+F7yFT8GMAjJJV1bkeDEFqIMIr5pGD153m4F9Ba8a2n2sU3Yo 1I3ELMEJvsclpUlEZe4TgXEGT1BXyUlC17ItNCLWa5BgiXDPgzQHxu9RRwDkufsKz8+z QeMI6bHOYWXe1vOigcTLLyWGK4YGpAD+Sq8I5JeY+4tobY96gWPBGR0RYxlhtupaQa3k IQEyzkN/ECqWOpM32KSADah8eequHoC1pC09cpXJytKqRHumgLtMOeFaZeaU0EjS21L/ /bptGIWK+BAJrWZfMx6zA+T39XMCn2FITkQv1MRKNcbPEstzhr4vDBh5OAiAiwiuBWtT ztKw== 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=MgQpzbqJb+8Q9FC/kK1WOOQByL4AxzW1tN2lsosITEI=; b=cqVYJplvDOGsTM1Y1pBCkWf1bBrlOwunzWooTDM2f2wigW9N+DoqfUextxZX5P1PsD CH9AcGbu7TTeqIFphRGclcaANjnDtqPoDl8fCLvn2bAWZUSYKtMWU6TvTeOpQRa4pyk7 lHn1MP50XhKRdA8JEvbnX1LQK0of9imjrOkmhgP6+OEFlUKeI2MtPtXSs3Dibqtclgdi N7tTE1mgmj7SBDuwlJ0Ixu9I3s1vyocv4295kCiY71yutrFB8jLnhhUpqFvWqtav6u8Y 0LYNjk5e+mFx7Oz/wykcAUScALW2tRMinZTT31geRb7FncIcC+nR6xwtBuoQLwUWdr9y KWBA== X-Gm-Message-State: AOAM531hDOfxftoNyQ7OGNux018SCEDU2oxLKMFAwl0JoXpme8bqEU+b hBcUSBibJVVh18XUUG8oE7QlpQ== X-Received: by 2002:adf:e591:: with SMTP id l17mr6540651wrm.358.1622192805157; Fri, 28 May 2021 02:06:45 -0700 (PDT) Received: from dell.default ([91.110.221.223]) by smtp.gmail.com with ESMTPSA id m132sm6105911wmf.11.2021.05.28.02.06.44 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 28 May 2021 02:06:44 -0700 (PDT) From: Lee Jones To: lee.jones@linaro.org Cc: linux-kernel@vger.kernel.org, Pavel Machek , Dan Murphy , linux-leds@vger.kernel.org Subject: [PATCH 13/15] leds: leds-lp8860: Fix kernel-doc related formatting issues Date: Fri, 28 May 2021 10:06:27 +0100 Message-Id: <20210528090629.1800173-14-lee.jones@linaro.org> X-Mailer: git-send-email 2.31.1 In-Reply-To: <20210528090629.1800173-1-lee.jones@linaro.org> References: <20210528090629.1800173-1-lee.jones@linaro.org> MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: linux-leds@vger.kernel.org Fixes the following W=1 kernel build warning(s): drivers/leds/leds-lp8860.c:105: warning: Function parameter or member 'lock' not described in 'lp8860_led' drivers/leds/leds-lp8860.c:105: warning: Function parameter or member 'client' not described in 'lp8860_led' drivers/leds/leds-lp8860.c:105: warning: Function parameter or member 'led_dev' not described in 'lp8860_led' drivers/leds/leds-lp8860.c:105: warning: Function parameter or member 'regmap' not described in 'lp8860_led' drivers/leds/leds-lp8860.c:105: warning: Function parameter or member 'eeprom_regmap' not described in 'lp8860_led' drivers/leds/leds-lp8860.c:105: warning: Function parameter or member 'enable_gpio' not described in 'lp8860_led' drivers/leds/leds-lp8860.c:105: warning: Function parameter or member 'regulator' not described in 'lp8860_led' Cc: Pavel Machek Cc: Dan Murphy Cc: linux-leds@vger.kernel.org Signed-off-by: Lee Jones --- drivers/leds/leds-lp8860.c | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) -- 2.31.1 diff --git a/drivers/leds/leds-lp8860.c b/drivers/leds/leds-lp8860.c index f0533a337bc15..3c693d5e3b44c 100644 --- a/drivers/leds/leds-lp8860.c +++ b/drivers/leds/leds-lp8860.c @@ -85,14 +85,14 @@ #define LP8860_NAME "lp8860" /** - * struct lp8860_led - - * @lock - Lock for reading/writing the device - * @client - Pointer to the I2C client - * @led_dev - led class device pointer - * @regmap - Devices register map - * @eeprom_regmap - EEPROM register map - * @enable_gpio - VDDIO/EN gpio to enable communication interface - * @regulator - LED supply regulator pointer + * struct lp8860_led + * @lock: Lock for reading/writing the device + * @client: Pointer to the I2C client + * @led_dev: led class device pointer + * @regmap: Devices register map + * @eeprom_regmap: EEPROM register map + * @enable_gpio: VDDIO/EN gpio to enable communication interface + * @regulator: LED supply regulator pointer */ struct lp8860_led { struct mutex lock; From patchwork Fri May 28 09:06:28 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Lee Jones X-Patchwork-Id: 449498 Delivered-To: patch@linaro.org Received: by 2002:a02:7a1b:0:0:0:0:0 with SMTP id a27csp160311jac; Fri, 28 May 2021 02:07:10 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyEE4qrQvU6dUcb227wMnMsPa34aGxg/qIXig+47OPvYR+QOcj7vbGxXnVKvItnVhxaIjtg X-Received: by 2002:a05:6402:50c6:: with SMTP id h6mr8780688edb.327.1622192830399; Fri, 28 May 2021 02:07:10 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1622192830; cv=none; d=google.com; s=arc-20160816; b=h5C9CjDQVTl0YHwS1bFWy6tQPmSvWGX8fbaPxaC9AAXnuLTf64TlL/8wYvl4cdf/sQ cA98ilfn1APFzyKel5QIpUXGK/D0CTEkxrgu4mmDaEdYpktJPxNPbt0YP6BWw2+7TqFy 7i+fbaemViYLRdW46VtCi/qpTOoa+/H7rvOENxjiW7gqFFSFoePtch4yCghiW5EYgN8X hbRUVjNvRf49XHobwDDMC/MzQ4zn3SX15ybbJG1OFAb7bzoiTkmClYc+yOlAVrNr+OAi aClkCw98Gh1fqnwH+/oU4qqa5ou+M+nffoO0cDiTfQBC1FQs6KZQbY1zvF5Ts2upk2qg C0RQ== 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 :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=GLZXBhmwHs3m982hWlJhp8h3QkAX722ImZXcYdfXoKY=; b=YLydRfblnHmnJ5XoHDG/DG3TfhhLZpBkpNwciGZSNqaoJ+tZYPUE+wAx3FS4ezWXvX 9fAluef/FMZVnYkUW7lFw88CDOmG6fuziqfzhWWVVSZZk0p3761YaFYkqXH4Hjk41/aQ A5rKsP7JmEFJr7NyITPcCUDdVCcNhAxTBs16b/GeRxsFl8uiAqfQ52i/mAkvxe827ojT RQWlG6TJdDvI50LzctOQhk9N6dUdkfMzTVRJqHNzCkglMlslIU7UQrPBZrtMMF6rOlsS VS5al9OADMASkD8RRpjtqhIM15vu3UT9JzXYqgdo8xfmCjoFcl62kbJYm0+pLXIfpAsS bIYg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=A+CpxW+t; spf=pass (google.com: domain of linux-leds-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-leds-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 v11si4267271eja.569.2021.05.28.02.07.10 for ; Fri, 28 May 2021 02:07:10 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-leds-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=A+CpxW+t; spf=pass (google.com: domain of linux-leds-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-leds-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 S236488AbhE1JIm (ORCPT ); Fri, 28 May 2021 05:08:42 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:45240 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S236491AbhE1JI1 (ORCPT ); Fri, 28 May 2021 05:08:27 -0400 Received: from mail-wr1-x42d.google.com (mail-wr1-x42d.google.com [IPv6:2a00:1450:4864:20::42d]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 8200FC061354 for ; Fri, 28 May 2021 02:06:47 -0700 (PDT) Received: by mail-wr1-x42d.google.com with SMTP id c3so2521854wrp.8 for ; Fri, 28 May 2021 02:06:47 -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=GLZXBhmwHs3m982hWlJhp8h3QkAX722ImZXcYdfXoKY=; b=A+CpxW+t5xcY16+9v7nPOjbvDZQnx1tQNWUUV1uv7hswRzoUvpJkaYsIz7fv3N8ISr gCw0g1cxV3pE1fxDXl4kdTOAD7WR57fjaIVENWQhTOMSu8rV6v+ikBCH1nhZUW22kKcf HgjcEPekQgLE3PMCAQ8qHZP014z7OQk31NJTkGkME1xe8KqLEa50J0Uv8pFIHpwvUbHI cmXvxBktTZdZz49VS/CqfRiBOgcm8t/YpEnnImS1m81jX2yqiEtu8LHd8Fjype/1q2qh HVv59s2M93U22PPmOmw8NrGjjSSFI8WTW+eElmTM5MikwZv0ZPBlMJy4rmWxWbJ5YFBz 6IrQ== 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=GLZXBhmwHs3m982hWlJhp8h3QkAX722ImZXcYdfXoKY=; b=e7eQAoNOykv5CdETQDvCP6zYjlgM/akA0L7W7Q71tYnTMc8qo31nQhb/OBnZf6K2iU ogSveKylkpfNNXKTOeGUrQodNhFxGsrmru+G8GuCi3ZsoxiqzFxnf2yNVCQlhkt0mWVS BNhrhpLRVHlsS6aW/UUGvqo5ALKtLQzh9aowd4C+u+6E+PDOj/a7JOLK6b8VNqacFdat thJLyTwt/tgOnnpPVs5Sp1XjyRcYkoDy0efLhZ0CSrIXWsFicMwigVhy58tJE9arICyb LfMi0uBThVWqHUSo78BBEk9+XVS/nQ+ut+g9jZuek9K67i3iMNrKZ5r9pK4qnB7ZIxJQ CuRQ== X-Gm-Message-State: AOAM531RUDof+wEbgjg5phP63FkwPbbxV+m0lA05M4UsNuAUpl8SXqwM q09ALjasjpyy8J4p5XX4u5wb0w== X-Received: by 2002:a5d:6e92:: with SMTP id k18mr823317wrz.94.1622192806109; Fri, 28 May 2021 02:06:46 -0700 (PDT) Received: from dell.default ([91.110.221.223]) by smtp.gmail.com with ESMTPSA id m132sm6105911wmf.11.2021.05.28.02.06.45 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 28 May 2021 02:06:45 -0700 (PDT) From: Lee Jones To: lee.jones@linaro.org Cc: linux-kernel@vger.kernel.org, Pavel Machek , Liam Girdwood , Mark Brown , Dan Murphy , linux-leds@vger.kernel.org Subject: [PATCH 14/15] leds: leds-lm3692x: Demote non-complete kernel-doc Date: Fri, 28 May 2021 10:06:28 +0100 Message-Id: <20210528090629.1800173-15-lee.jones@linaro.org> X-Mailer: git-send-email 2.31.1 In-Reply-To: <20210528090629.1800173-1-lee.jones@linaro.org> References: <20210528090629.1800173-1-lee.jones@linaro.org> MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: linux-leds@vger.kernel.org Needs updating by the author to re-promote. Fixes the following W=1 kernel build warning(s): drivers/leds/leds-lm3692x.c:121: warning: Function parameter or member 'boost_ctrl' not described in 'lm3692x_led' drivers/leds/leds-lm3692x.c:121: warning: Function parameter or member 'brightness_ctrl' not described in 'lm3692x_led' drivers/leds/leds-lm3692x.c:121: warning: Function parameter or member 'enabled' not described in 'lm3692x_led' Cc: Pavel Machek Cc: Liam Girdwood Cc: Mark Brown Cc: Dan Murphy Cc: linux-leds@vger.kernel.org Signed-off-by: Lee Jones --- drivers/leds/leds-lm3692x.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) -- 2.31.1 diff --git a/drivers/leds/leds-lm3692x.c b/drivers/leds/leds-lm3692x.c index a2ab6bd5de111..f386766b2c4c1 100644 --- a/drivers/leds/leds-lm3692x.c +++ b/drivers/leds/leds-lm3692x.c @@ -95,7 +95,7 @@ #define LM3692X_FAULT_FLAG_SHRT BIT(3) #define LM3692X_FAULT_FLAG_OPEN BIT(4) -/** +/* * struct lm3692x_led * @lock: Lock for reading/writing the device * @client: Pointer to the I2C client From patchwork Fri May 28 09:06:29 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Lee Jones X-Patchwork-Id: 449500 Delivered-To: patch@linaro.org Received: by 2002:a02:7a1b:0:0:0:0:0 with SMTP id a27csp160398jac; Fri, 28 May 2021 02:07:16 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzSh9v9DTfmfrQpmGZU9NGIo0VXSJUMa2SPAyulph5tcW/yYQ/echNzB0ECPEcvBAF9EPYz X-Received: by 2002:a05:6402:128f:: with SMTP id w15mr8807299edv.354.1622192836441; Fri, 28 May 2021 02:07:16 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1622192836; cv=none; d=google.com; s=arc-20160816; b=j+ALHUSo09zzENdEIarXw5gME3o+lGYdBTl8znXGB5egWULFCzC/iUiHqoGC7heOcy KPB4InUijHvODLkiBZPEzKee6qSqPBhaO22lo84g87AycmR9aQhbubWesXEch+5tyDW7 EX7qGWtD0JVwkupaNMmD3ZSHgmWD6UlVZB2poNywefIMIEVAcMmTU8Nos8tNriyDjPnP NdW+9uDFypqOg2Mtk4sGk0tf/7oCjdpvfxDBK1EWr6qbWv9iYlJ/W6dEL69hBncoUez7 4cw4tEjv/r4i9vMXBpmcRYl1X1ZtSs88XpINfmcGL+kKGcIV+Jde7xXFz8f05WptXZrd /WjQ== 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 :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=Yz5xumMTCw+/Q8kLm3VGuNA+QWFDXuFwV3AKtQecOD4=; b=ErwRtKYo+doGtImTngXmkre8sQSzSmi9+ybbYj7Piyf+SWOEdPAHc8EK9lpEJ3iKuF zJioT4NXoJZM2vsUtMEaahL2YralMiuYnZ+5bovMW9AJHjvk8t+/lPSJKH9qM/8DXGZQ 8acikcZNQQ4YPeq0I6ampBIP5etwOcXVlPA8jDAyDJC4rHcXeABmlDGyuHr8y6rjm6wJ jA76f7SIK/dJN3BOGRYbO/l8yTS7fPKNTeFVKWbC/ZvNGUR+/xKk98sNMEnMtAvTigBe 6jjzJWso5CXfK1sg+O6p8hdqaYRFJJNu8V5rTjZKy1kk69lMr5STTQP3Mtlz1fStG1bQ ixjg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=VlZPXHRz; spf=pass (google.com: domain of linux-leds-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-leds-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 cn17si4470424edb.73.2021.05.28.02.07.16 for ; Fri, 28 May 2021 02:07:16 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-leds-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=VlZPXHRz; spf=pass (google.com: domain of linux-leds-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-leds-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 S235933AbhE1JIq (ORCPT ); Fri, 28 May 2021 05:08:46 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:45264 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S236534AbhE1JI3 (ORCPT ); Fri, 28 May 2021 05:08:29 -0400 Received: from mail-wr1-x436.google.com (mail-wr1-x436.google.com [IPv6:2a00:1450:4864:20::436]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 65D8FC061357 for ; Fri, 28 May 2021 02:06:48 -0700 (PDT) Received: by mail-wr1-x436.google.com with SMTP id f11so2567481wrq.1 for ; Fri, 28 May 2021 02:06:48 -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=Yz5xumMTCw+/Q8kLm3VGuNA+QWFDXuFwV3AKtQecOD4=; b=VlZPXHRz4mtUhK6EFAdV4cWfZhD1/6wXL+y251g6u2COSh/oiPC4DQiCD/nwzw81LX /EtOdips5rXPlzhb4CRe8t2MQ3iMFRkBLxqyFyk5ZjmQunm/kAXuTmlJPRFTIqnTZAoa niQ+p6NjzsVaARmkozu2pH09Dvf46zJLwjhLHmLLsVSSyZRC46nY6M9b0IFpnvglxNul ricmhsmUKdP+cOTQQVxg+qSaupqCcwugeGwSUDTeR50Ewbi9oWBq4UP/nBiT/JF7V7w/ N21/G6HaBJ+6hT9qwHg8f32sBiwmkIGSpj3WTONGK1qwIHrgfbTpQSLNgsnC6jEQOYiz ssbQ== 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=Yz5xumMTCw+/Q8kLm3VGuNA+QWFDXuFwV3AKtQecOD4=; b=JQcwCYSwtgOffZpb0r5zlZdkmSKcLUQpDq/tQ30ONnX2UuPsNrgX15bCJdgucOuFIV t8542pf+LNjtFaK9wdXMdZmKAoYxeE7vggWHi9o3COMTqEVznNb/mFeljAZona2m+u54 kCtYkGXpq6bdbDLRYFlEzk462XzHe119R6H8g2YjFPkSc7r/RWJmphrhJyPOZc56hoop YuVwpHDgGTPpMUyyvTc5ZpeiIY6DW1kM/Lf7VjgtZFE43O0fmC/MDvbFCQ8MOySxNzMR ibJyEFlpJjG+u3B3WgVS7qJbWgU1M1Ng76Jd5NILiZFbNp+p3d3HwMRkbG5RhvZFzAAr I9oQ== X-Gm-Message-State: AOAM533Bu0ISrpbHUPBzRy/KzSFh0pZQ/7NaMGGRpwpkc6dit/ktcVw+ oCetFOGTx9bdH32n/uDdV6v7PA== X-Received: by 2002:a5d:490d:: with SMTP id x13mr7608915wrq.49.1622192807017; Fri, 28 May 2021 02:06:47 -0700 (PDT) Received: from dell.default ([91.110.221.223]) by smtp.gmail.com with ESMTPSA id m132sm6105911wmf.11.2021.05.28.02.06.46 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 28 May 2021 02:06:46 -0700 (PDT) From: Lee Jones To: lee.jones@linaro.org Cc: linux-kernel@vger.kernel.org, Vadim Pasternak , Pavel Machek , linux-leds@vger.kernel.org Subject: [PATCH 15/15] leds: leds-mlxcpld: Fix a bunch of kernel-doc formatting issues Date: Fri, 28 May 2021 10:06:29 +0100 Message-Id: <20210528090629.1800173-16-lee.jones@linaro.org> X-Mailer: git-send-email 2.31.1 In-Reply-To: <20210528090629.1800173-1-lee.jones@linaro.org> References: <20210528090629.1800173-1-lee.jones@linaro.org> MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: linux-leds@vger.kernel.org Fixes the following W=1 kernel build warning(s): drivers/leds/leds-mlxcpld.c:72: warning: cannot understand function prototype: 'struct mlxcpld_param ' drivers/leds/leds-mlxcpld.c:83: warning: cannot understand function prototype: 'struct mlxcpld_led_priv ' drivers/leds/leds-mlxcpld.c:98: warning: cannot understand function prototype: 'struct mlxcpld_led_profile ' drivers/leds/leds-mlxcpld.c:114: warning: cannot understand function prototype: 'struct mlxcpld_led_pdata ' Cc: Vadim Pasternak Cc: Pavel Machek Cc: linux-leds@vger.kernel.org Signed-off-by: Lee Jones --- drivers/leds/leds-mlxcpld.c | 38 ++++++++++++++++++------------------- 1 file changed, 19 insertions(+), 19 deletions(-) -- 2.31.1 diff --git a/drivers/leds/leds-mlxcpld.c b/drivers/leds/leds-mlxcpld.c index f4721f8065f0f..1355c84a2919b 100644 --- a/drivers/leds/leds-mlxcpld.c +++ b/drivers/leds/leds-mlxcpld.c @@ -64,10 +64,10 @@ #define MLXCPLD_LED_BLINK_6HZ 83 /* ~83 msec off/on */ /** - * mlxcpld_param - LED access parameters: - * @offset - offset for LED access in CPLD device - * @mask - mask for LED access in CPLD device - * @base_color - base color code for LED + * struct mlxcpld_param - LED access parameters: + * @offset: offset for LED access in CPLD device + * @mask: mask for LED access in CPLD device + * @base_color: base color code for LED **/ struct mlxcpld_param { u8 offset; @@ -76,9 +76,9 @@ struct mlxcpld_param { }; /** - * mlxcpld_led_priv - LED private data: - * @cled - LED class device instance - * @param - LED CPLD access parameters + * struct mlxcpld_led_priv - LED private data: + * @cled: LED class device instance + * @param: LED CPLD access parameters **/ struct mlxcpld_led_priv { struct led_classdev cdev; @@ -88,12 +88,12 @@ struct mlxcpld_led_priv { #define cdev_to_priv(c) container_of(c, struct mlxcpld_led_priv, cdev) /** - * mlxcpld_led_profile - system LED profile (defined per system class): - * @offset - offset for LED access in CPLD device - * @mask - mask for LED access in CPLD device - * @base_color - base color code - * @brightness - default brightness setting (on/off) - * @name - LED name + * struct mlxcpld_led_profile - system LED profile (defined per system class): + * @offset: offset for LED access in CPLD device + * @mask: mask for LED access in CPLD device + * @base_color: base color code + * @brightness: default brightness setting (on/off) + * @name: LED name **/ struct mlxcpld_led_profile { u8 offset; @@ -104,12 +104,12 @@ struct mlxcpld_led_profile { }; /** - * mlxcpld_led_pdata - system LED private data - * @pdev - platform device pointer - * @pled - LED class device instance - * @profile - system configuration profile - * @num_led_instances - number of LED instances - * @lock - device access lock + * struct mlxcpld_led_pdata - system LED private data + * @pdev: platform device pointer + * @pled: LED class device instance + * @profile: system configuration profile + * @num_led_instances: number of LED instances + * @lock: device access lock **/ struct mlxcpld_led_pdata { struct platform_device *pdev;