From patchwork Fri May 24 16:48:48 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Dr. David Alan Gilbert" X-Patchwork-Id: 798805 Received: from mx.treblig.org (mx.treblig.org [46.235.229.95]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 1B2C512E1F2; Fri, 24 May 2024 16:49:16 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=46.235.229.95 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1716569358; cv=none; b=jN/+jogSgtO1Q4hMLwlow+GosJWNmTnzmBgE8tjlvGIMEYdytwM+JKU45b4knBztWj1+rWW6ocTDYmNb3TYx2A2ibTPLQZBd+w6lbjL6c6KQAGfSJXbdguyQLV7sLs3h7Zo6Wf3AghqiepBnBS7WqZrMIeJTxNduXvJkjY2bPJ8= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1716569358; c=relaxed/simple; bh=xyD99tgT3aw+BUIOMhiiUokw2vS+osuZnjSxhCkCcDI=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=S2SI4X14EfxZDC13vXu5PkbHlgp4SxgllPf8rGS5XkGET0g/P7nM8BjRNmPM32HpFezB4TwkfhI35Yxi+qQT5wBlAIDB8wwc3w4YSCERgr4AN3r4SywCLcMonpRgksFnCCrVSVTKWUQebpPuh8APXT68NKOWsc6uB64av+MTMr8= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=treblig.org; spf=pass smtp.mailfrom=treblig.org; dkim=pass (2048-bit key) header.d=treblig.org header.i=@treblig.org header.b=pX/QxcyV; arc=none smtp.client-ip=46.235.229.95 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=treblig.org Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=treblig.org Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=treblig.org header.i=@treblig.org header.b="pX/QxcyV" DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=treblig.org ; s=bytemarkmx; h=MIME-Version:Message-ID:Date:Subject:From:Content-Type:From :Subject; bh=VeOOJgMq87wNzONgWWyqOlC7t90SJ915OsvUKnI+boE=; b=pX/QxcyVwuMhdiRm aHKcuMfNKA4Zkj7J1kd+bU6MF7lJhNcGaia/Ejpea8kXhjlza1NPY0EcZZ1gzLO7AOSAaWKcPWZaT eJk99JzEh1KqlE2PHm997PN67NuH08EwQ0W8wHd6wZ+YcNJauO/aS/jRlgeSTt9lAiixOLxxPjylE j1+Hq2W4EX8/ooi/gr3MU5QBbPwlZubwrjPGGV+qB1XiMWb5w7Qvs1xOsEuAkRpm6je6xxDKOfWio e6Sal45NWw6o/3hGejAPBC0DCGPMXvbeQ+qtxf0BuqErU7WHXgwVHgqYqjDYicncTqADYKl3h6ZwP gSE22bTRJRRdbSZKMQ==; Received: from localhost ([127.0.0.1] helo=dalek.home.treblig.org) by mx.treblig.org with esmtp (Exim 4.96) (envelope-from ) id 1sAY6R-002Qpy-23; Fri, 24 May 2024 16:49:12 +0000 From: linux@treblig.org To: mchehab@kernel.org, sakari.ailus@linux.intel.com, hverkuil-cisco@xs4all.nl Cc: linux-media@vger.kernel.org, linux-kernel@vger.kernel.org, "Dr. David Alan Gilbert" Subject: [PATCH 1/4] media: i2c: dw9768: remove unused struct 'regval_list' Date: Fri, 24 May 2024 17:48:48 +0100 Message-ID: <20240524164851.184467-2-linux@treblig.org> X-Mailer: git-send-email 2.45.1 In-Reply-To: <20240524164851.184467-1-linux@treblig.org> References: <20240524164851.184467-1-linux@treblig.org> Precedence: bulk X-Mailing-List: linux-media@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 From: "Dr. David Alan Gilbert" 'regval_list' is unused since the original commit 859891228e56 ("media: i2c: dw9768: Add DW9768 VCM driver") Remove it. Signed-off-by: Dr. David Alan Gilbert --- drivers/media/i2c/dw9768.c | 5 ----- 1 file changed, 5 deletions(-) diff --git a/drivers/media/i2c/dw9768.c b/drivers/media/i2c/dw9768.c index daabbece8c7e..18ef2b35c9aa 100644 --- a/drivers/media/i2c/dw9768.c +++ b/drivers/media/i2c/dw9768.c @@ -115,11 +115,6 @@ static inline struct dw9768 *sd_to_dw9768(struct v4l2_subdev *subdev) return container_of(subdev, struct dw9768, sd); } -struct regval_list { - u8 reg_num; - u8 value; -}; - struct dw9768_aac_mode_ot_multi { u32 aac_mode_enum; u32 ot_multi_base100; From patchwork Fri May 24 16:48:49 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Dr. David Alan Gilbert" X-Patchwork-Id: 799046 Received: from mx.treblig.org (mx.treblig.org [46.235.229.95]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 6FF7912CD81; Fri, 24 May 2024 16:49:21 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=46.235.229.95 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1716569363; cv=none; b=Ax0hw/DQJUE3E9RMMTFAii13nwu/ctSbyu4qY8OYo3dt1o/W00W87SFoAY3OpuSq4Lt9m0WGfQ5P6h515pUVOmCN6ls93z+R8Kvb5l8+kZi126mdoutvI6CX5901wGxuGErZT2fGds/Ex1XT3480alTp/maghHKpj3t643xJvHg= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1716569363; c=relaxed/simple; bh=Yh+fPWg2r4W5B79paWxjEZDEWxaJwokaetMuPAbhpHE=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=rKlfbVjt7h9+wKs4HlPKivbblvuZ+U7qStb+FXyJsThrSdnpRrCrL8mUwaZ2wFjb7mhvogkeOVs+LceG0OLCyLT4mZ9sh4OTAMa0tBEQV67RPN1eox59Lg6jNAO057jw4j4uygw++DvG+0WWLg9NtZFat+EaRhYL8RWI+5kOpSs= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=treblig.org; spf=pass smtp.mailfrom=treblig.org; dkim=pass (2048-bit key) header.d=treblig.org header.i=@treblig.org header.b=pITMiLCY; arc=none smtp.client-ip=46.235.229.95 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=treblig.org Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=treblig.org Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=treblig.org header.i=@treblig.org header.b="pITMiLCY" DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=treblig.org ; s=bytemarkmx; h=MIME-Version:Message-ID:Date:Subject:From:Content-Type:From :Subject; bh=Fip7Ho/tBEx5A/Z27iMKzCUw0laCGmOUi0bIAEeLW3Y=; b=pITMiLCYfhhtuABB FCvfAOaNfs+ueIfiDrCV5rPrtqsF5CTss+rM66oyuNBmRbBfSWkN3IH58ZUJBjoizNU+CtMmn5HqE NnugQN6TUKcrVsNZzcVD2CZDcPHad68CB30UWgIQEVFo2UBVqM9dsODlNmybHyJUVllA9NPihIawz w70W/Tn7qlycc5PnNWLyEJUxx7O75N/3iK8b5dugEJ8m4FWKZDnv9NAHPQP2xvltB4JbNVKosP/Ya 7TKYFL4NIn73ed4duF8SZh8y8GNUE6TEuyvEn7f4HOe+SuMZqwMoMfDIbpb9UuvHjShSKerENKZtI JNng4uUsacmPiTgTgA==; Received: from localhost ([127.0.0.1] helo=dalek.home.treblig.org) by mx.treblig.org with esmtp (Exim 4.96) (envelope-from ) id 1sAY6W-002Qpy-10; Fri, 24 May 2024 16:49:16 +0000 From: linux@treblig.org To: mchehab@kernel.org, sakari.ailus@linux.intel.com, hverkuil-cisco@xs4all.nl Cc: linux-media@vger.kernel.org, linux-kernel@vger.kernel.org, "Dr. David Alan Gilbert" Subject: [PATCH 2/4] media: i2c: ks0127: remove unused struct 'adjust' Date: Fri, 24 May 2024 17:48:49 +0100 Message-ID: <20240524164851.184467-3-linux@treblig.org> X-Mailer: git-send-email 2.45.1 In-Reply-To: <20240524164851.184467-1-linux@treblig.org> References: <20240524164851.184467-1-linux@treblig.org> Precedence: bulk X-Mailing-List: linux-media@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 From: "Dr. David Alan Gilbert" 'adjust' has been unused since original commit fbe60daac4c3 ("V4L/DVB (3916): AverMedia 6 Eyes AVS6EYES support"). Remove it. Signed-off-by: Dr. David Alan Gilbert --- drivers/media/i2c/ks0127.c | 8 -------- 1 file changed, 8 deletions(-) diff --git a/drivers/media/i2c/ks0127.c b/drivers/media/i2c/ks0127.c index 5c583f57e3f3..9d0a763cd503 100644 --- a/drivers/media/i2c/ks0127.c +++ b/drivers/media/i2c/ks0127.c @@ -175,14 +175,6 @@ MODULE_LICENSE("GPL"); * mga_dev : represents one ks0127 chip. ****************************************************************************/ -struct adjust { - int contrast; - int bright; - int hue; - int ugain; - int vgain; -}; - struct ks0127 { struct v4l2_subdev sd; v4l2_std_id norm; From patchwork Fri May 24 16:48:50 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Dr. David Alan Gilbert" X-Patchwork-Id: 798804 Received: from mx.treblig.org (mx.treblig.org [46.235.229.95]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id C6AD812CD81; Fri, 24 May 2024 16:49:29 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=46.235.229.95 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1716569371; cv=none; b=uiXR8wnGl0NE4UrNxxHurjXyUk+BnCUP4TIT4+Uqg3AwolJPqMEG7vPQ9xrzaQCiwCOXq7NpjlULWB1z/4v8a5dyu6M8jKlySCxubNS6pZKZbqeCGrG5EFvyosN3dxE71g/4ArzRi254Rh+LkW9Nmizc5GBEZZMp7VetYz1/xm8= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1716569371; c=relaxed/simple; bh=ABQqYyyFJchDJa5XOJECzeEmy43x6Wrq5iLGE+SuCxE=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=h6b4B+h+Kr7417Mc4i2Y8hbFm/700CvAR7hO1/22tvvE3L3f7ZtEHY/mox395cM9YM/fcgaR5vYf0elbN+Rsks1Sa5GVJjjU0rLM6Z/2n+pS8kzSZnDzZYWMRLo9kmH+pHBwKfYIPDolQm4WKdxl/V5DDpEo5iK4Fvar10OokwI= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=treblig.org; spf=pass smtp.mailfrom=treblig.org; dkim=pass (2048-bit key) header.d=treblig.org header.i=@treblig.org header.b=Z6nOaKRO; arc=none smtp.client-ip=46.235.229.95 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=treblig.org Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=treblig.org Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=treblig.org header.i=@treblig.org header.b="Z6nOaKRO" DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=treblig.org ; s=bytemarkmx; h=MIME-Version:Message-ID:Date:Subject:From:Content-Type:From :Subject; bh=23mA7e45gOTCFr4oRNrq25h0iVpj26coA+zC1OVoi0U=; b=Z6nOaKROnlzQfoVY Z46TGR9Kli2R+5e666Akhe6mwu90eueBCAsUVGgxQaGvUBR570wcSkO/ICLsmdS0LGWzj2e9CSSbJ 1V6dwdKR7yhBVA+IATdFiIzh65XjOp8b2jmV5Py11i2A9N1DJiGQu6zr9+Ixc0AdrmdpFwXqwqqFf cPV0NmV+Hl6URht9PsqPfvf4F5ZwVlk3gSi+Im/SctqfVefK5oY15NIsgFk9ihW2Ap3Ub5MH8N6+y mzOBtoub2lp06shQEuGd8iTFb2vtdmvk8DbHDtE6fLH+3pYUBnSfPngL7YLLqt4bcPD63tfG0ySMm XHgf37BiBETU0MheqQ==; Received: from localhost ([127.0.0.1] helo=dalek.home.treblig.org) by mx.treblig.org with esmtp (Exim 4.96) (envelope-from ) id 1sAY6e-002Qpy-2Y; Fri, 24 May 2024 16:49:25 +0000 From: linux@treblig.org To: mchehab@kernel.org, sakari.ailus@linux.intel.com, hverkuil-cisco@xs4all.nl Cc: linux-media@vger.kernel.org, linux-kernel@vger.kernel.org, "Dr. David Alan Gilbert" Subject: [PATCH 3/4] media: i2c: tw9910: remove unused strust 'regval_list' Date: Fri, 24 May 2024 17:48:50 +0100 Message-ID: <20240524164851.184467-4-linux@treblig.org> X-Mailer: git-send-email 2.45.1 In-Reply-To: <20240524164851.184467-1-linux@treblig.org> References: <20240524164851.184467-1-linux@treblig.org> Precedence: bulk X-Mailing-List: linux-media@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 From: "Dr. David Alan Gilbert" 'regval_list' has been unused since commit 398994c1e104 ("V4L/DVB (13666): tw9910: modify V/H outpit pin setting to use VALID"). Remove it. Signed-off-by: Dr. David Alan Gilbert --- drivers/media/i2c/tw9910.c | 5 ----- 1 file changed, 5 deletions(-) diff --git a/drivers/media/i2c/tw9910.c b/drivers/media/i2c/tw9910.c index 905af98c7d53..6dffaaa9ed56 100644 --- a/drivers/media/i2c/tw9910.c +++ b/drivers/media/i2c/tw9910.c @@ -212,11 +212,6 @@ * structure */ -struct regval_list { - unsigned char reg_num; - unsigned char value; -}; - struct tw9910_scale_ctrl { char *name; unsigned short width; From patchwork Fri May 24 16:48:51 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Dr. David Alan Gilbert" X-Patchwork-Id: 799045 Received: from mx.treblig.org (mx.treblig.org [46.235.229.95]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id D0B3E12CD81; Fri, 24 May 2024 16:49:37 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=46.235.229.95 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1716569379; cv=none; b=i5JH43ac6chFNKFsv6UCfNrF9XXgKpVHjqHzcoV7S5BeUD58tsVwtT7Xh35gljj+yq0ZoGwEJLSed5efqBLV4R2pNWe/Z9Qst8InHr3r3mjGkMA+s8VVaoYcdQSi5lG46bBwzR6WP4rbUH8yaWWiQl384RL2nE4plB/iPQrZrx8= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1716569379; c=relaxed/simple; bh=nZiuVw2+FK3x2PUca+c6KL4a7y8UxzcuaAjOwcSH9GM=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=J1XwZ4sf3atnzeQAPVYvPbfJGwxo4hXGmsQX51af5k6kdeYo+1B30JrVtJNcCOavsuFgaZ81g1abdA60kn2VoZ/HZYOXVsdmoasHwXDjgP/Ax0FNKAgG45RnmbjBigsDl+hUmicpKbFCjzzUjT2bLQj26bmGyOqC+FO7fYAtHdc= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=treblig.org; spf=pass smtp.mailfrom=treblig.org; dkim=pass (2048-bit key) header.d=treblig.org header.i=@treblig.org header.b=Y5OUZKrE; arc=none smtp.client-ip=46.235.229.95 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=treblig.org Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=treblig.org Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=treblig.org header.i=@treblig.org header.b="Y5OUZKrE" DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=treblig.org ; s=bytemarkmx; h=MIME-Version:Message-ID:Date:Subject:From:Content-Type:From :Subject; bh=geXUP07gEPh/tWoZ5y8jkfeS43t3AQZ7yWhXEVqcMuM=; b=Y5OUZKrEDeAPTNJR pYRtjFzEVOj1ovQ7FRVx41MStRoKkiw2UuoZT1PBfh3Di0Fs6pAOd821iDFL2C9lV6tThfExqwhJl gsSYKC+jhMaqQf0dzHCGQVXk+EeLQAodnZX/H56CaFHHmwHcKlWTfga3WiCajMca8gsvcJfz5lBvN 8htu9meoV1A8GtTtNauLugEfncallilcojfxu3ghkY05YoWOmGc2eqtH1i2bI7kZVUvAwmsgb+sWb +dNxFf+NC27DrnSnoeu0vvMlCgsSTKGr3IlD6S9XCRNKTTjqE7cs3RXEfv/MFL9j2M5W+1r8wPzjK 5k0cuUqhd20ZzVAdnQ==; Received: from localhost ([127.0.0.1] helo=dalek.home.treblig.org) by mx.treblig.org with esmtp (Exim 4.96) (envelope-from ) id 1sAY6m-002Qpy-2I; Fri, 24 May 2024 16:49:33 +0000 From: linux@treblig.org To: mchehab@kernel.org, sakari.ailus@linux.intel.com, hverkuil-cisco@xs4all.nl Cc: linux-media@vger.kernel.org, linux-kernel@vger.kernel.org, "Dr. David Alan Gilbert" Subject: [PATCH 4/4] media: i2c: adv7511: remove unused struct 'i2c_reg_value' Date: Fri, 24 May 2024 17:48:51 +0100 Message-ID: <20240524164851.184467-5-linux@treblig.org> X-Mailer: git-send-email 2.45.1 In-Reply-To: <20240524164851.184467-1-linux@treblig.org> References: <20240524164851.184467-1-linux@treblig.org> Precedence: bulk X-Mailing-List: linux-media@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 From: "Dr. David Alan Gilbert" 'i2c_reg_value' is unused since the original commit 5a544cce2177 ("[media] adv7511: add new video encoder"). Remove it. Signed-off-by: Dr. David Alan Gilbert --- drivers/media/i2c/adv7511-v4l2.c | 5 ----- 1 file changed, 5 deletions(-) diff --git a/drivers/media/i2c/adv7511-v4l2.c b/drivers/media/i2c/adv7511-v4l2.c index 79946e9c7401..261871be833f 100644 --- a/drivers/media/i2c/adv7511-v4l2.c +++ b/drivers/media/i2c/adv7511-v4l2.c @@ -62,11 +62,6 @@ MODULE_LICENSE("GPL v2"); ********************************************************************** */ -struct i2c_reg_value { - unsigned char reg; - unsigned char value; -}; - struct adv7511_state_edid { /* total number of blocks */ u32 blocks;