From patchwork Thu May 20 19:01:02 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Lee Jones X-Patchwork-Id: 443321 Delivered-To: patch@linaro.org Received: by 2002:a02:7a1b:0:0:0:0:0 with SMTP id a27csp253280jac; Thu, 20 May 2021 12:01:45 -0700 (PDT) X-Google-Smtp-Source: ABdhPJx+Rcqee27zerqp5s1kIcDh1y2+t06f9CbTP0CGLXUyHUsPZMJg2T9ufZSeZgQPQGgGpbq2 X-Received: by 2002:a50:ff0a:: with SMTP id a10mr6567300edu.273.1621537305534; Thu, 20 May 2021 12:01:45 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1621537305; cv=none; d=google.com; s=arc-20160816; b=g0yu0cXn15T3mxUP+ZWebv9z3UgKMNg2oIqsgp8ClsMi74efMxwpPek7Ut7NF5eqDh nInEHgInjXXe4/objui+QaLDDFW0zMXomDozp3H2a/HdUp23KUhhB3YpzKoMo0JIbyor i+//I5Ap7GNRKVBj/pVwN2uIF+KMZT5fW4wg0U2DE/M5WQ71DuhR44atKfxKGxikpP0+ Wkrxd5/FELBXFfAiXS+5OJxzEb638htnpdrVJcp5FSbw1XCXT6tAOV/Q+cQROMDRVSP9 HcMmBRtao1tn8OTStUJmVy8oh+vLT4cmGS15YyXi40rmF+OWvvdvQ9U0WnEABU1OskoC sBNQ== 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=hXVyRZ1HL0eM8Xbg0cN8+oers/z15+r/qPuDP2xi93NIvfoh69ry58YXjzf2y6SiBY n69p6hD3SDNUYZjMHM3jPjPqAupLn8MJ7k/qJofBtqOx+Z7bDoLFu8QyKeCbN4wxtvHa k6vh7sCaVyxYlQOH78/z+N9knlqxpBnivog0AkvOKDpWcQsKgZiCnu7mTGTGAL4SdR2Q HWh7+lnwBvNhomyPziM1TYedhH/6tw0IHUGV1oNaXjzuA/ySNKYOt2XMafR/HHdOlZs2 /wktPPlMwON/XsqoHqssOpuFipG9NVXvMEj4lZ+VFtf34pRfQblgH6LY+mG4Soafacr1 Z4sA== 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-i2c-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-i2c-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 kv7si3142943ejc.678.2021.05.20.12.01.45; Thu, 20 May 2021 12:01:45 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-i2c-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-i2c-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-i2c-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 S237577AbhETTDD (ORCPT + 2 others); Thu, 20 May 2021 15:03:03 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:32852 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S237219AbhETTCs (ORCPT ); Thu, 20 May 2021 15:02:48 -0400 Received: from mail-wr1-x431.google.com (mail-wr1-x431.google.com [IPv6:2a00:1450:4864:20::431]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 9F0E4C061347 for ; Thu, 20 May 2021 12:01:25 -0700 (PDT) Received: by mail-wr1-x431.google.com with SMTP id p7so14986273wru.10 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=oTb1mNwxF9AtXD9z8EkQKBqayPdpVa6UEI1xtHsM4cpiNgXoL6kjILP+88MzwHYDUO diEk4tu1rMtzZQ6/X7n6l7Y6uVlW/uiBBSzEUMTqngipRqGo0JMChii9aajIXA6Xbmwi zab730h8ODiA5s381k7Rb3mlQMm58WlhbFzEid6y0iKqoentKnd2gd2uZt6Fj+lHI1nu 0poFZdNRGKofQ6YtmLeaMxm+l4Ah+FICcfiQDrS9OWPOJmq0BFNu/tSDOwU7Oong3oqW T1EL6Lf86esFWES6H7S5HRoh4wYPM3UzTsLX3fRSQIaYfjgsBbqYQOMHWFpO5YvJJebZ BmLA== X-Gm-Message-State: AOAM533P4gDVZV9Te9Vdy8Hm782U7zxCM4WM+ZBMi6NJyV81jVngq6qk zcuKcWSL6O/wTKbpRUHTQhrD7Q== 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 Precedence: bulk List-ID: X-Mailing-List: linux-i2c@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(-) -- 2.31.1 Reviewed-by: Alain Volmat 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 */