From patchwork Fri Jan 15 18:12:50 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Lee Jones X-Patchwork-Id: 363678 Delivered-To: patch@linaro.org Received: by 2002:a02:ccad:0:0:0:0:0 with SMTP id t13csp89149jap; Fri, 15 Jan 2021 10:14:05 -0800 (PST) X-Google-Smtp-Source: ABdhPJxSMjFP6nU5aMY71EAwQOpxopWGrqkY5P3t2NedxvfgYTIJFbz4In+38c/9oiWJu5rlGuXL X-Received: by 2002:a62:115:0:b029:1b4:c593:acd4 with SMTP id 21-20020a6201150000b02901b4c593acd4mr1565703pfb.2.1610734444911; Fri, 15 Jan 2021 10:14:04 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1610734444; cv=none; d=google.com; s=arc-20160816; b=0QxFEfYmtwu8LVeQA4dxKLkuyKPNlxa2XGY6VDXKDbWI6k5++PN6cAAUw1pqL0Ct/E zdlEvCQI50iJVIPo6Zhw0egfMjc4wxLFz3EHNU5GAuPFss8FDP9nlyFQSZex5DKtUUVB tEIaq1XHA9llRmxiv16+LsqMJOiySeHCNNgOX2C8ob5yYTijjNIYUIB+XN27JO7zs6wQ f9iQspbV063adgboV/MyZMY8eDFb8BHpLFHKQCHI2ya7pYLUGRBN8CwV108zRBfcJwuq pEMoQqZ8iUaDZgwIrWcP90lf1UkTtH/XIfxyyVnF2Gb2I6tkUB25fNfhNurd6jY07zQZ ZT2A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:content-transfer-encoding:cc:list-subscribe :list-help:list-post:list-archive:list-unsubscribe:list-id :precedence:mime-version:references:in-reply-to:message-id:date :subject:to:from:dkim-signature:delivered-to; bh=XwiUFuSpOhu4IsY1RCsJXKT3wOf8/a4ec8WwqKLNuT0=; b=Qi4Ru4hZvEV66QrLP/BEOQHKl31+Ela/kbIhDDlpAmzoevGG/NN0aki/r153/ShT43 oR9zvYkvgTUACqT23U7AR3VdUGbh4twFNO7/abmyYc55imIRpDVLoXcMpstaM0EtwJTH aJXY78rzq75I64txnSTNjoaMQq2o8lwNRsKTfHO55Hz9fhlpMENVW1BswlHpo02E+AoS X8cdwQroR/dG7SUcIRUt6kSlhGMefvn7UvBpnvwpJAYdIixQrgLn9Hqt/eN7ZKI8pKrf 3OGpv5no2i3Sv5N8D8r2YQgIH+1u7cuIxxlGPjpW+pH6l1fMDJaudkwcfwarSE/ImE2e g3JA== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@linaro.org header.s=google header.b="w9NoGSZ/"; spf=pass (google.com: best guess record for domain of dri-devel-bounces@lists.freedesktop.org designates 131.252.210.177 as permitted sender) smtp.mailfrom=dri-devel-bounces@lists.freedesktop.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from gabe.freedesktop.org (gabe.freedesktop.org. [131.252.210.177]) by mx.google.com with ESMTPS id r12si10719053pgm.453.2021.01.15.10.14.04 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 15 Jan 2021 10:14:04 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of dri-devel-bounces@lists.freedesktop.org designates 131.252.210.177 as permitted sender) client-ip=131.252.210.177; Authentication-Results: mx.google.com; dkim=neutral (body hash did not verify) header.i=@linaro.org header.s=google header.b="w9NoGSZ/"; spf=pass (google.com: best guess record for domain of dri-devel-bounces@lists.freedesktop.org designates 131.252.210.177 as permitted sender) smtp.mailfrom=dri-devel-bounces@lists.freedesktop.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 2F3AF6E48C; Fri, 15 Jan 2021 18:13:46 +0000 (UTC) X-Original-To: dri-devel@lists.freedesktop.org Delivered-To: dri-devel@lists.freedesktop.org Received: from mail-wr1-x42c.google.com (mail-wr1-x42c.google.com [IPv6:2a00:1450:4864:20::42c]) by gabe.freedesktop.org (Postfix) with ESMTPS id 662666E47E for ; Fri, 15 Jan 2021 18:13:44 +0000 (UTC) Received: by mail-wr1-x42c.google.com with SMTP id d26so10187389wrb.12 for ; Fri, 15 Jan 2021 10:13: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=2Sf7UxFKe3Y/0LIWjexcpC2JdFLtpHY5KwvFx7/VFjA=; b=w9NoGSZ/l11wfSZSeAI4t499CVHwCdmjQnsIudKi0BoQ1Qmcl/PevP5g/9yIqF1VZI zNb7qldTqI8Z8+nqxO3I0vxh6xYD4hsB/C1KIT71zz1hTeHDc3e1oztvaUrGon+1UwRd wPbyfic0PGsGSerU7GReFRPZW0JhETAtUZYpzyB/nM76gZBnlCXcJH4OZsu6Pslu+mha gjkrHspJ9en30gn8UHW92S0gUfchzdIRqmXAMzN+iJqizZAEc9UftalWpWiYmcZE6+/l 23zmbg3+KPPZKhAiwhCoWV1v56PowvyZ96BIZLbFruHIadxswgoFKCDU85BHETPzOlmB 6LBg== 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=2Sf7UxFKe3Y/0LIWjexcpC2JdFLtpHY5KwvFx7/VFjA=; b=rqd8FVqXUIR+yUpwS+mUwVj01tiCNSdLjajq5rZv4RXm13bNgY1RxgyggBZxuFFvgH KBpAKMknNKKS97+dibnjIUxbHoK1TJ0mIL/KsNDFX0gl+5ppG54xJZlOZiWhuViQ9INm l420CraXN4jf5Xb3Hjrrd0oPbg92eRDTPR1A0BaBNDKCBMTyXMklO2NuRG55+9m/3wXP p84/U+Y8AdspqGTVi6GHfix+I3NswZWf4ITfY7eSSE+BsXdgT8m3jnYthxJuWvm1AsCw daE9aUbQ61cC0one2NWllH+WO9hMadTjuqaukKB0A0BmXYsOG+5QLGYr5mti7mhIS51H XeEw== X-Gm-Message-State: AOAM530pDslfB7QGSM36bobVowJa9qjDaK2BH+TzqEzZZFa1PXe1zGJ/ pCNPiHqbsy0HmzgjeeS7vie+3A== X-Received: by 2002:adf:b1db:: with SMTP id r27mr4599002wra.125.1610734423051; Fri, 15 Jan 2021 10:13:43 -0800 (PST) Received: from dell.default ([91.110.221.158]) by smtp.gmail.com with ESMTPSA id j2sm16123484wrh.78.2021.01.15.10.13.41 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 15 Jan 2021 10:13:42 -0800 (PST) From: Lee Jones To: lee.jones@linaro.org Subject: [PATCH 17/40] drm/gma500/intel_i2c: Remove superflouous parameter description and rename another Date: Fri, 15 Jan 2021 18:12:50 +0000 Message-Id: <20210115181313.3431493-18-lee.jones@linaro.org> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20210115181313.3431493-1-lee.jones@linaro.org> References: <20210115181313.3431493-1-lee.jones@linaro.org> MIME-Version: 1.0 X-BeenThere: dri-devel@lists.freedesktop.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Direct Rendering Infrastructure - Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: David Airlie , linux-kernel@vger.kernel.org, dri-devel@lists.freedesktop.org Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" Fixes the following W=1 kernel build warning(s): drivers/gpu/drm/gma500/intel_i2c.c:108: warning: Excess function parameter 'output' description in 'psb_intel_i2c_create' drivers/gpu/drm/gma500/intel_i2c.c:153: warning: Function parameter or member 'chan' not described in 'psb_intel_i2c_destroy' drivers/gpu/drm/gma500/intel_i2c.c:153: warning: Excess function parameter 'output' description in 'psb_intel_i2c_destroy' Cc: Patrik Jakobsson Cc: David Airlie Cc: Daniel Vetter Cc: Eric Anholt Cc: dri-devel@lists.freedesktop.org Signed-off-by: Lee Jones --- drivers/gpu/drm/gma500/intel_i2c.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) -- 2.25.1 _______________________________________________ dri-devel mailing list dri-devel@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/dri-devel diff --git a/drivers/gpu/drm/gma500/intel_i2c.c b/drivers/gpu/drm/gma500/intel_i2c.c index cb92f24e6f1c5..5e1b4d70c3171 100644 --- a/drivers/gpu/drm/gma500/intel_i2c.c +++ b/drivers/gpu/drm/gma500/intel_i2c.c @@ -85,7 +85,6 @@ static void set_data(void *data, int state_high) /** * psb_intel_i2c_create - instantiate an Intel i2c bus using the specified GPIO reg * @dev: DRM device - * @output: driver specific output device * @reg: GPIO reg to use * @name: name for this bus * @@ -145,7 +144,7 @@ struct psb_intel_i2c_chan *psb_intel_i2c_create(struct drm_device *dev, /** * psb_intel_i2c_destroy - unregister and free i2c bus resources - * @output: channel to free + * @chan: channel to free * * Unregister the adapter from the i2c layer, then free the structure. */