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