From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-12.8 required=3.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_PATCH, MAILING_LIST_MULTI,SIGNED_OFF_BY,SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED, USER_AGENT_GIT autolearn=unavailable autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id B5572C2D0A3 for ; Wed, 4 Nov 2020 16:26:31 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 62E68206A5 for ; Wed, 4 Nov 2020 16:26:31 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="c1d35Ul8" Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1731197AbgKDQ0a (ORCPT ); Wed, 4 Nov 2020 11:26:30 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:35660 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1730855AbgKDQYq (ORCPT ); Wed, 4 Nov 2020 11:24:46 -0500 Received: from mail-wr1-x442.google.com (mail-wr1-x442.google.com [IPv6:2a00:1450:4864:20::442]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id D5821C0613D4 for ; Wed, 4 Nov 2020 08:24:44 -0800 (PST) Received: by mail-wr1-x442.google.com with SMTP id n18so22691077wrs.5 for ; Wed, 04 Nov 2020 08:24:44 -0800 (PST) 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=1B8aLNHl/Qs+uB28RwcWAHlScyGLFiAyQDDIMzV5Nlg=; b=c1d35Ul8+71Bsc2DO6reZqBHMH4M8JxQ+N5pONSycUxjIPLN0lw7SAFiEiTqAlkEUu MOHik11fAqXjr5Qq9nn47fxGrY5l3S9V1VjMZwqE/L1mmMVdhDTNaZLO9v4hPsT1j3Ke hnYWQGrBevOry2pXwUXYwbdvvuJ0GV/bTVhtMhg20igunh+oDwZ0lSLfFdz1A67rrJAK 6EczHiCMtpyERopQ6MMUcIfjHxL140BhIEOPxpaEuWwNW1Op0+bbYuOP5rc4pKGQkF3P qywrvVkh4W7VSjiJuHzezKOsMNMnPjezCFhZ0nO7dGrxLC1B1C9Yw5Xi+97Zmj8/y9wn NAUQ== 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=1B8aLNHl/Qs+uB28RwcWAHlScyGLFiAyQDDIMzV5Nlg=; b=Um7riSpLQ2pX8SirhgCUXMJOCR+/hFXzfza5Kl4CRtMZ6Qh70uR+ap9xyHAGPEjP1D 343ovsUn9IdRGOYDHDR11SxnSHvHJ4hBMeXdTrMqh3vLAxGwldyKKCVtsNt9RnRrAMAJ buaCENDvP5uY/exU0I4auXVLF6+KIBavQI8P7iaLgE644fPxbsdKlIusFQNSsqS+Fyho IlPBPBbGiO5W3t3UCx2ZtHLLYGI2OigBZQ+eE8QAAFp7HPH6ZeUPFkRug2EY2Jt/TunV 2xvYonzt2VQVoBcdLb7tZhCLSdpoI7DVDmSr+/A1aLMQMHfW24sv8WwvVC40okEIWKl7 OmFg== X-Gm-Message-State: AOAM532jN7OTwYUd3zKq0w3y7pWjLYbNpI58H9hvu/fYX4+687E5F7b5 wG+ygDA+3JsfQKNLD2obXekToQ== X-Google-Smtp-Source: ABdhPJzxrf60+RtCEC8+1PLcKvMvlLrMVnZ5U32Trjo0ZaEEFl90KL/39QKNcN5BzPL/q5W9sTqCbA== X-Received: by 2002:adf:df91:: with SMTP id z17mr31957489wrl.379.1604507083609; Wed, 04 Nov 2020 08:24:43 -0800 (PST) Received: from dell.default ([91.110.221.242]) by smtp.gmail.com with ESMTPSA id o129sm3008564wmb.25.2020.11.04.08.24.42 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 04 Nov 2020 08:24:42 -0800 (PST) From: Lee Jones To: lee.jones@linaro.org Cc: linux-kernel@vger.kernel.org, Dmitry Torokhov , Henrik Rydberg , Dudley Du , Daniel Kurtz , Benson Leung , linux-input@vger.kernel.org Subject: [PATCH 02/20] input: mouse: cyapa: Fix misnaming of 'cyapa_i2c_write's 'reg' param Date: Wed, 4 Nov 2020 16:24:09 +0000 Message-Id: <20201104162427.2984742-3-lee.jones@linaro.org> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20201104162427.2984742-1-lee.jones@linaro.org> References: <20201104162427.2984742-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/input/mouse/cyapa.c:130: warning: Function parameter or member 'reg' not described in 'cyapa_i2c_write' drivers/input/mouse/cyapa.c:130: warning: Excess function parameter 'ret' description in 'cyapa_i2c_write' Cc: Dmitry Torokhov Cc: Henrik Rydberg Cc: Dudley Du Cc: Daniel Kurtz Cc: Benson Leung Cc: linux-input@vger.kernel.org Signed-off-by: Lee Jones --- drivers/input/mouse/cyapa.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/input/mouse/cyapa.c b/drivers/input/mouse/cyapa.c index c675f156948b5..dacf7c0e43f98 100644 --- a/drivers/input/mouse/cyapa.c +++ b/drivers/input/mouse/cyapa.c @@ -119,7 +119,7 @@ static ssize_t cyapa_i2c_read(struct cyapa *cyapa, u8 reg, size_t len, /** * cyapa_i2c_write - Execute i2c block data write operation * @cyapa: Handle to this driver - * @ret: Offset of the data to written in the register map + * @reg: Offset of the data to written in the register map * @len: number of bytes to write * @values: Data to be written * -- 2.25.1