From patchwork Thu Jul 28 13:02:31 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Alexander Stein X-Patchwork-Id: 594154 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 86E7EC19F21 for ; Thu, 28 Jul 2022 13:02:50 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S238489AbiG1NCt (ORCPT ); Thu, 28 Jul 2022 09:02:49 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:41250 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S236063AbiG1NCs (ORCPT ); Thu, 28 Jul 2022 09:02:48 -0400 Received: from mx1.tq-group.com (mx1.tq-group.com [93.104.207.81]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 5CC0331921; Thu, 28 Jul 2022 06:02:47 -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=1659013367; x=1690549367; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=jHGCy+LY2xn86PxwDOHDZMu5ODeZxv+Kr+sz0BLuCiI=; b=kgePlvyEqNOKZc/fvox90VcBtIBBK25kBBHPBYO2tmOrXWVmV/uoPza9 EobQpBYGqlakiTkzfxbpN0wtAF3Lw0ISPfUpPpqVMet6PPH5NnjUBVMug R8Bhm5EKFnKYbpHXvChqqPguGWBTLiLaG2EGfA0u+xS1TePvUNU09oTDP wN/Iv1ODoUShP2HYbbcFg6B0FxeblPzWKySp7JdcFU77iElTzx8i2IllP A/opAWLdReEttUB04wyAAos2l0TyIN8MaBmNHkGMPrQ8lqT+s1GDg2Fhn zGNq2g/o5Mz8S3ffYTiVPLCdeVcmeOafdTLSdaWUJ1PZHXXRfWEZdXsAw g==; X-IronPort-AV: E=Sophos;i="5.93,198,1654552800"; d="scan'208";a="25321365" Received: from unknown (HELO tq-pgp-pr1.tq-net.de) ([192.168.6.15]) by mx1-pgp.tq-group.com with ESMTP; 28 Jul 2022 15:02:43 +0200 Received: from mx1.tq-group.com ([192.168.6.7]) by tq-pgp-pr1.tq-net.de (PGP Universal service); Thu, 28 Jul 2022 15:02:43 +0200 X-PGP-Universal: processed; by tq-pgp-pr1.tq-net.de on Thu, 28 Jul 2022 15:02:43 +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=1659013363; x=1690549363; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=jHGCy+LY2xn86PxwDOHDZMu5ODeZxv+Kr+sz0BLuCiI=; b=YBCFy4egfC0LJlW7SvO8ERJqt401SBWGyHa6W8q1AuuxBEIJ81FHMilW F5Jx+hPxzIyF1rE3pXYXXSS2EFxN/fQSj89ZdBzhgPX2VI/qiz146wzfS NNxI3s5jagFEzTwAOFjnjVAuAJ5YnIRJ/dp1TbssyttU0VjPtEr89lW0f FIUwEc9SzzF7nlWBrAVKtB/bVWQEqc74sTCdfuoEh12m50NrEmB+OXm8K MSEBXhtEEV+ZFCc7jV0+g8gdmvPIs8mvtjVJ4FHI1FBdRIE46g2vSZVF+ xykwX6XXGhL27tpa6njwRWB2stZRWgRtMahXx4F0HjRIACt9ai//dw58G Q==; X-IronPort-AV: E=Sophos;i="5.93,198,1654552800"; d="scan'208";a="25321364" Received: from vtuxmail01.tq-net.de ([10.115.0.20]) by mx1.tq-group.com with ESMTP; 28 Jul 2022 15:02:43 +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 588AB280072; Thu, 28 Jul 2022 15:02:43 +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, Sakari Ailus Subject: [PATCH v4 1/7] media: i2c: ov9282: remove unused and unset i2c_client member Date: Thu, 28 Jul 2022 15:02:31 +0200 Message-Id: <20220728130237.3396663-2-alexander.stein@ew.tq-group.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20220728130237.3396663-1-alexander.stein@ew.tq-group.com> References: <20220728130237.3396663-1-alexander.stein@ew.tq-group.com> MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: devicetree@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 | 2 -- 1 file changed, 2 deletions(-) diff --git a/drivers/media/i2c/ov9282.c b/drivers/media/i2c/ov9282.c index 2e0b315801e5..8a252bf3b59f 100644 --- a/drivers/media/i2c/ov9282.c +++ b/drivers/media/i2c/ov9282.c @@ -104,7 +104,6 @@ struct ov9282_mode { /** * struct ov9282 - ov9282 sensor device structure * @dev: Pointer to generic device - * @client: Pointer to i2c client * @sd: V4L2 sub-device * @pad: Media pad. Only one pad supported * @reset_gpio: Sensor reset gpio @@ -123,7 +122,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;