Received: by 2002:a05:6a10:206:0:0:0:0 with SMTP id 6csp735311pxj; Thu, 20 May 2021 21:29:22 -0700 (PDT) X-Google-Smtp-Source: ABdhPJy7MxusSNMX/39gssgELl0V97LSBCTUAxH5nBSHoIPo55qR3e4nTpE2YFopQcaHQTKXyXG6 X-Received: by 2002:a17:906:ccdd:: with SMTP id ot29mr8297169ejb.72.1621571361789; Thu, 20 May 2021 21:29:21 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1621571361; cv=none; d=google.com; s=arc-20160816; b=E7+uhTV7qDevST+7BnhHG+5E6mCLM5QaI17N5vdv3S1nP3I+5HoLJ35vEA3aGjPyIR 8QWl0XMdXKSTa5QXoH2WvSx+5ZSaues9fjBoilgvJwR4k0cDjQ/FcWnzronPhmpUXTWm 99mFQaZVpJyD94EbGVImPudftgC4eR5gb5Avy2ou/PEn31v2huhE9+0sHRFH/MBH2CGH Z94hV+cJKeTazq1AlqArPFiCRpehQ2hYpGovOgmKwaXN55zp4NOlsF1NF6QsdvkSNBrP EH9KJ1h6ynR8F/X8Gmm2OjbGL4MAQx1ZoWuBfzML6ZpwXfKCD19sIFaDCkU9cEUzzHRC F5+g== 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=oCVCX80G9lI3O3DeFSFdWNKU1XN0pA4zwW94RZh137s=; b=mCTLxQ9K7KVp2r5FLxlp4Wo0GzVukPrP4KlWEW6TghyL9LQ8svU/gYRkgJXgXSERmM ObnBElLIHvXa6OMsEk/RG8w48iRNMwIsam/3Ih3O+eyOe7uMXhN9Q6Jr/cwfYcs+rC6a sGEK6CHOnFUVsESEzSn0ijQZr7dgaStCih8jbWwgA4DGTY65O7tbf9nfYpQuGN0Cu/ni 3hvK9xkGjj8aidvnSedmGmzQZLWE+uao0NwaWVM8RHWSfSgHFv2vBxWDbC3m/rSA1j2A tB2Mlt/SOihV6eVnG/lrwGZqvRU1yGvIpiSk8N8iWFEzskm6pNSDFK9FgzL56tTkuxWt lzQg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=DnovUsZr; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id bx19si4673822ejb.481.2021.05.20.21.28.13; Thu, 20 May 2021 21:29:21 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=DnovUsZr; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S242886AbhETMsg (ORCPT + 99 others); Thu, 20 May 2021 08:48:36 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:59110 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S242924AbhETMrI (ORCPT ); Thu, 20 May 2021 08:47:08 -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 3BA9DC0610E6 for ; Thu, 20 May 2021 05:08:25 -0700 (PDT) Received: by mail-wm1-x331.google.com with SMTP id b7so8440927wmh.5 for ; Thu, 20 May 2021 05:08:25 -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=oCVCX80G9lI3O3DeFSFdWNKU1XN0pA4zwW94RZh137s=; b=DnovUsZrtkLnNIXfVzFMlXamimyl3QsLUj3BLuCSCi6P7s2pHJS+wtg6wFZSPMIZOW tGW5MLIS4HlwPS8tJGwKr1EEyzO2bMzF22qUyq4is1106KZBOnEJBd7ctalV/p1DLtw8 ZoGXfcO4Gekv9w1r+yR54P8TUa0cE7d2WjvX1kI3kAJ47GqSKBjjfApHBsq8i1b7ExT/ XwYeotY/IxJhHASH1kEHUcYTKmsPcAo5dwvJJQPvLnl1Tsp8HqZGFdXhA+24El9G94A7 i7MQVVLWkQQU7UqkYLD5T5Gx12kCsOu1BcdLb6WU7cMSWkn1hagvDWcnBEdDRiNFfyuk tk6A== 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=oCVCX80G9lI3O3DeFSFdWNKU1XN0pA4zwW94RZh137s=; b=JhJE0mZm0ryy2Z0yltGMRjQqEQcPXt+K9SZ9A+sjPFW2uGBtZGOT/PD77AcQzi2TK2 CKQkWrufzJ4yyHxcV5eyTSlNiHNviGgM6jMkcWw13cbyo8YsBQt23gFfsrOxdHrvunm/ QvK+Mt4l+2L6slEWHtHG82EXZ0Mc4MoG03XBeA/xKuFFGXF4YGDOO8ajU6P+Ag346SMK 4kCQlr1Qz9TcKeZjUhQUYAfwH0YoolbksMJPOH4P394+Csl5Ne82UtNIlrUD9T1RSqJC bHokZ5JkYz2MaeI383i+XsOBry+fqGQUiP8AFmo/RCla/SuCxjcVK/II1nfIvfHTcDyg 37rQ== X-Gm-Message-State: AOAM530ypMPjmSweNKfuR/hihaQbCdh/ElG0GRdlnU1DKy78SHaGXJPh Sm16zVpm/mMSl2Dg36JI1tSVGiKpf+6Szw== X-Received: by 2002:a05:600c:19c8:: with SMTP id u8mr3794890wmq.50.1621512503864; Thu, 20 May 2021 05:08:23 -0700 (PDT) Received: from dell.default ([91.110.221.215]) by smtp.gmail.com with ESMTPSA id r7sm2237170wmq.18.2021.05.20.05.08.23 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 20 May 2021 05:08:23 -0700 (PDT) From: Lee Jones To: lee.jones@linaro.org Cc: linux-kernel@vger.kernel.org, Mark Brown , patches@opensource.cirrus.com Subject: [PATCH 1/7] mfd: wm831x-core: Fix incorrect function name wm831x_reg_unlock() Date: Thu, 20 May 2021 13:08:14 +0100 Message-Id: <20210520120820.3465562-2-lee.jones@linaro.org> X-Mailer: git-send-email 2.31.1 In-Reply-To: <20210520120820.3465562-1-lee.jones@linaro.org> References: <20210520120820.3465562-1-lee.jones@linaro.org> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Fixes the following W=1 kernel build warning(s): drivers/mfd/wm831x-core.c:121: warning: expecting prototype for wm831x_reg_unlock(). Prototype was for wm831x_reg_lock() instead Cc: Lee Jones Cc: Mark Brown Cc: patches@opensource.cirrus.com Signed-off-by: Lee Jones --- drivers/mfd/wm831x-core.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/mfd/wm831x-core.c b/drivers/mfd/wm831x-core.c index bcef08f58fb3f..c31809b17547e 100644 --- a/drivers/mfd/wm831x-core.c +++ b/drivers/mfd/wm831x-core.c @@ -109,7 +109,7 @@ static int wm831x_reg_locked(struct wm831x *wm831x, unsigned short reg) } /** - * wm831x_reg_unlock: Unlock user keyed registers + * wm831x_reg_lock: Unlock user keyed registers * * The WM831x has a user key preventing writes to particularly * critical registers. This function locks those registers, -- 2.31.1