Received: by 2002:a05:6a10:206:0:0:0:0 with SMTP id 6csp845397pxj; Thu, 20 May 2021 23:59:32 -0700 (PDT) X-Google-Smtp-Source: ABdhPJywBXptC3tYk52FGH9U8fthFmt9SUYzooRzzB+5qlgEhBjf186EOf0l9/ijIdTMsVgZhIuo X-Received: by 2002:aa7:d7d5:: with SMTP id e21mr9605078eds.78.1621580371871; Thu, 20 May 2021 23:59:31 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1621580371; cv=none; d=google.com; s=arc-20160816; b=irW2kBvwF3vzBsHyrYbouK/BxpNWfrfuDMv+GHoRXVc3QHJ9l0Yap8G+CKgoTFAofU 5aXdRyTF/6wZTmFKYXC3YkwC3untLYPfmVwhsLM2/HADjPrc+dXm4ofEOUkbX1eiVSQ2 IoZpx9xWKX6AoAt01IebkRXO5vadYqY3IfWtT9ft4xgT56Ni+BeVZaIVJDaOjAyTdcoy wh5KqzeOFX7k571zh7VQ2BnC8iKT8XWqKWm6sCgxgFBXdynDpyXO/wJ3uVWcbcetgXWm YNpGDothKDUBjc1Lej5mEFi4riIhwzt4NOGthfQezDLvDbfOLCB8a5e1ZZsokojgx591 LPng== 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=loGMcp+zvtQjcUAqjhc/c8MuJfmRyYr1CiSfoFAmBjY=; b=WGF1mB48L9UyQVGpnX7JccqjHteOjU2zowmgxZ14zGf/0P2vCTA+GMJTz0HJI9s42l HPQZkd5WIps0qthIApdBs0twzU4+gNCX69c/nLNOr9sv+4orf7uII0y7tDpVjg9IgD8e SgrhV4eH6j5r6siU1yXcdg+VNXZc085GL8czmhAES7DVjO5FQxNYCg4q7FopxhwMho8O FsoxqHmLC3Wg65O41uqRuAI95SiSUds0abmWYMge8x397cOc2Jxho7y1X4zhj9cozFlR K6+0eTltEmNKN91P7SyHgi5zmFruxlnKhjl0+G1yMhTFghwuHnp0bEInjOszRXZGJcwP Vy4w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=RVcJhbK5; 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 p10si4259855edw.62.2021.05.20.23.59.08; Thu, 20 May 2021 23:59:31 -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=RVcJhbK5; 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 S238047AbhETTDY (ORCPT + 99 others); Thu, 20 May 2021 15:03:24 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:32866 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S237156AbhETTCs (ORCPT ); Thu, 20 May 2021 15:02:48 -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 9CB8CC061346 for ; Thu, 20 May 2021 12:01:25 -0700 (PDT) Received: by mail-wr1-x42b.google.com with SMTP id q5so18716760wrs.4 for ; Thu, 20 May 2021 12:01: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=loGMcp+zvtQjcUAqjhc/c8MuJfmRyYr1CiSfoFAmBjY=; b=RVcJhbK5OzGAKGhBEQ7dreDeedoEXywfTqMLZz/I3jtPJ+WHPz482VcaSmiR+xExyi 6lI0YSm+hJuZr9gzxRHrYTwSYYar40ln4SZ87ryqDaS2ulpP2BwusmytWxnNbdKIWqPz wWl0qd/mlECYGWTHddGX4MRG1AmI7gcafNkSNp+HVDYVByWgh74VzMXAUEQvbh9AON1W TLeGRfsxrh5G8f41eqKaBaxC2HPsMzH6o/nolH2BbGH0oxzDLQuAmR67Xflk9BDtRcZW dDaAGLRIT8l+iTmasRYoX1UEckXPlaFH9+OvxRJKIAOnYyYY0P6H0MsQzbZaQsDlX081 QURw== 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=loGMcp+zvtQjcUAqjhc/c8MuJfmRyYr1CiSfoFAmBjY=; b=tI8Dc9u9RetZGcrv+77OmF+FbqJZXTFtB2K+SjsH1VbK1BV2oBhBEfQDmlLHmJ2a/6 BXbbWxP099+LZp7KWXvNJs+CvipRVXSSu8cvwbiY3FdPwZFfA0i3TjxdfyiPCrrJEN1M RwGqQdB/Pow6dMto1uiDuSQzP0FfXkI/RFcRKnzHYsWuws8Oy6BvQ9ZJWv+glZGvgrHm g6A51KyvQ/KgFV80xswzA8MQ9zu8CzSzRjyJVc6XAOtqxd08Fog9WjZVOymhzxKPfMxC mDXs5OLOE525G5CEsHzVRZ1F2sdkyqFQIrxG2fKoxmXULLZNNyYahdKd1xPuzMvblFL6 Czpw== X-Gm-Message-State: AOAM530Y0SG2eF2h3b61WjpU1eomQhkPVqZbAHpth0/h00/PSTzUWjJG VUp0kz95cQzES/bjnGTQ3wxuw9/8iB7nGxqr X-Received: by 2002:adf:e0c6:: with SMTP id m6mr5977858wri.66.1621537284229; Thu, 20 May 2021 12:01:24 -0700 (PDT) Received: from dell.default ([91.110.221.215]) by smtp.gmail.com with ESMTPSA id p20sm9011899wmq.10.2021.05.20.12.01.23 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 20 May 2021 12:01:23 -0700 (PDT) From: Lee Jones To: lee.jones@linaro.org Cc: linux-kernel@vger.kernel.org, Patrice Chotard , Maxime Coquelin , linux-arm-kernel@lists.infradead.org, linux-i2c@vger.kernel.org Subject: [PATCH 13/16] i2c: busses: i2c-st: Fix copy/paste function misnaming issues Date: Thu, 20 May 2021 20:01:02 +0100 Message-Id: <20210520190105.3772683-14-lee.jones@linaro.org> X-Mailer: git-send-email 2.31.1 In-Reply-To: <20210520190105.3772683-1-lee.jones@linaro.org> References: <20210520190105.3772683-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/i2c/busses/i2c-st.c:531: warning: expecting prototype for st_i2c_handle_write(). Prototype was for st_i2c_handle_read() instead drivers/i2c/busses/i2c-st.c:566: warning: expecting prototype for st_i2c_isr(). Prototype was for st_i2c_isr_thread() instead Cc: Patrice Chotard Cc: Maxime Coquelin Cc: linux-arm-kernel@lists.infradead.org Cc: linux-i2c@vger.kernel.org Signed-off-by: Lee Jones --- drivers/i2c/busses/i2c-st.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/i2c/busses/i2c-st.c b/drivers/i2c/busses/i2c-st.c index faa81a95551fe..30089b38044b5 100644 --- a/drivers/i2c/busses/i2c-st.c +++ b/drivers/i2c/busses/i2c-st.c @@ -524,7 +524,7 @@ static void st_i2c_handle_write(struct st_i2c_dev *i2c_dev) } /** - * st_i2c_handle_write() - Handle FIFO enmpty interrupt in case of read + * st_i2c_handle_read() - Handle FIFO enmpty interrupt in case of read * @i2c_dev: Controller's private data */ static void st_i2c_handle_read(struct st_i2c_dev *i2c_dev) @@ -558,7 +558,7 @@ static void st_i2c_handle_read(struct st_i2c_dev *i2c_dev) } /** - * st_i2c_isr() - Interrupt routine + * st_i2c_isr_thread() - Interrupt routine * @irq: interrupt number * @data: Controller's private data */ -- 2.31.1