From patchwork Fri Jul 15 07:48:53 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Alexander Stein X-Patchwork-Id: 591252 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 3D2AEC433EF for ; Fri, 15 Jul 2022 07:49:16 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232260AbiGOHtJ (ORCPT ); Fri, 15 Jul 2022 03:49:09 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:48596 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232258AbiGOHtI (ORCPT ); Fri, 15 Jul 2022 03:49:08 -0400 Received: from mx1.tq-group.com (mx1.tq-group.com [93.104.207.81]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id DD31724BD9; Fri, 15 Jul 2022 00:49:06 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=tq-group.com; i=@tq-group.com; q=dns/txt; s=key1; t=1657871347; x=1689407347; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=JuBIX9AlsLth2DV5UV2eBx3OUqbtmMFLVWX7jnn/yrY=; b=gSWkQ3FYcvrFmvFcf5TCeFW5DC82/Orvpwt0DVeQo0ZxFS6jQ2s7LNPZ pjQBR2h96z1F4wZ+Djj8nHxt37vYIW2t0/6jwXYLy9DzA7x+J/ORWCMkz iQtl3QybKwhCcBmPGk4/Nk/y+lhJpWW2AxdPu0aZlrPVgtaTr2vowDMDf +7KW8lvulvPNSFuFGSjqKwbZgs623EpU5+NRx3mj7vFbcgNJIKKp8gtne CuwQxWsAhmeNnD0TzriOkj9E34IgU1ocyX6WEY5L2O6VLqeyhjFGNbkRU Ey/fXuBYCyM8ZiqkQeSh8X6e3jTWDF0UFUSRQXTor0t7g6buK/D8vs/MF A==; X-IronPort-AV: E=Sophos;i="5.92,273,1650924000"; d="scan'208";a="25069082" Received: from unknown (HELO tq-pgp-pr1.tq-net.de) ([192.168.6.15]) by mx1-pgp.tq-group.com with ESMTP; 15 Jul 2022 09:49:04 +0200 Received: from mx1.tq-group.com ([192.168.6.7]) by tq-pgp-pr1.tq-net.de (PGP Universal service); Fri, 15 Jul 2022 09:49:04 +0200 X-PGP-Universal: processed; by tq-pgp-pr1.tq-net.de on Fri, 15 Jul 2022 09:49:04 +0200 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=tq-group.com; i=@tq-group.com; q=dns/txt; s=key1; t=1657871344; x=1689407344; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=JuBIX9AlsLth2DV5UV2eBx3OUqbtmMFLVWX7jnn/yrY=; b=MHaIila42GWO8qVIYVrD0bSRLwUy5yr8vZaafNWTDyOO0aUFVM16CSzn cD2FUGFjv+4jfbvQ1bjp8skHRiTkTM3yCjshNnQVFNyqvfAq+EIXY6PtH TsR3R6lYLs8AjrH8owwpNdB5vCqQXdABC0Gh2AF4giO7djMME6eeEDUq1 uEDmaqwQFdKLlcLIZdSxcM0THdmN3TiO1DblXVou08Q5K7Tw3uto5OdqD rrsVFFrllTJEAAq3x5NGVx7fAkt7KmwiM4oQbhBE4z1+rgvBW+W2TdxpV 86zLrWTecItc3lUviSPxccmaO7JURRHIMc7+lvgkaox7wlE9ZpgkDs7zR A==; X-IronPort-AV: E=Sophos;i="5.92,273,1650924000"; d="scan'208";a="25069081" Received: from vtuxmail01.tq-net.de ([10.115.0.20]) by mx1.tq-group.com with ESMTP; 15 Jul 2022 09:49:04 +0200 Received: from steina-w.tq-net.de (unknown [10.123.49.12]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) (No client certificate requested) by vtuxmail01.tq-net.de (Postfix) with ESMTPSA id 06E1B280072; Fri, 15 Jul 2022 09:49:04 +0200 (CEST) From: Alexander Stein To: "Paul J . Murphy" , Daniele Alessandrelli , Mauro Carvalho Chehab , Rob Herring , Krzysztof Kozlowski Cc: Alexander Stein , linux-media@vger.kernel.org, devicetree@vger.kernel.org Subject: [PATCH v2 1/6] media: i2c: ov9282: remove unused and unset i2c_client member Date: Fri, 15 Jul 2022 09:48:53 +0200 Message-Id: <20220715074858.875808-2-alexander.stein@ew.tq-group.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20220715074858.875808-1-alexander.stein@ew.tq-group.com> References: <20220715074858.875808-1-alexander.stein@ew.tq-group.com> MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: linux-media@vger.kernel.org This is not need anyway as the i2c_client is stored in v4l2_subdev. Signed-off-by: Alexander Stein Acked-by: Daniele Alessandrelli --- drivers/media/i2c/ov9282.c | 1 - 1 file changed, 1 deletion(-) diff --git a/drivers/media/i2c/ov9282.c b/drivers/media/i2c/ov9282.c index 2e0b315801e5..3269c1983bd5 100644 --- a/drivers/media/i2c/ov9282.c +++ b/drivers/media/i2c/ov9282.c @@ -123,7 +123,6 @@ struct ov9282_mode { */ struct ov9282 { struct device *dev; - struct i2c_client *client; struct v4l2_subdev sd; struct media_pad pad; struct gpio_desc *reset_gpio;