From patchwork Mon Nov 20 21:46:07 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Heiner Kallweit X-Patchwork-Id: 13462159 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 bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id C21EDC2BB3F for ; Mon, 20 Nov 2023 21:47:09 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To: Message-ID:Date:Subject:Cc:To:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=1ZcB4YkmQE1xj95LgMi0Ce9271KkXQSfTlgrDiHHLfI=; b=3Vxz5gEcTa2EXg x9/O4JJMgpt/nnbNVxs0YQE8U76StzwIk+9W41ImNLQ8+NJEDJra++SidTPw7gF9BpM0HtxIYivnU IsWuB1HnwPn8VT7TOVOOm39rahKkOZyHyH0cvhh5uUay5/gvqByXdoQEKVhNyecCHsmdJzWhiGaq9 MCCA0Ts+hZp0yVHrmqDPNm9rWhdt5Z7rnLWDC3S2uccqk8wRk1qCeHY6Jdti+ncphIFIcTNQPqyNm dUudrv98SwFE7PDrrA0x4+MFr4okkBhRoxFidah3BvMBlAd1sKVtzL5uNNg6moGsq4Nq/m+IKSu5R vz5jFcxozIXVCcCfTbLg==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1r5C6N-00EuL3-36; Mon, 20 Nov 2023 21:46:43 +0000 Received: from mail-wr1-x430.google.com ([2a00:1450:4864:20::430]) by bombadil.infradead.org with esmtps (Exim 4.96 #2 (Red Hat Linux)) id 1r5C6D-00EuFC-28 for linux-arm-kernel@lists.infradead.org; Mon, 20 Nov 2023 21:46:34 +0000 Received: by mail-wr1-x430.google.com with SMTP id ffacd0b85a97d-332cb136335so707127f8f.0 for ; Mon, 20 Nov 2023 13:46:32 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1700516791; x=1701121591; darn=lists.infradead.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=UFS8KKprIzFM0zE+Ai6M4ORed6sy7M8DbezDgWX5KRQ=; b=WqBB3W6pXs9wZ47F1Y7R+FUK5dtCS4Q9eo+/RakVwO19Q8tJwhMSdRJFr/UbpJ6SWL lYJNAhiFlQtAsTONd9BFVl790vTXP3KwOL97fSAPcyQSagOfgZPBzbb+hhxL1nKcmLPi gFOPWcR/EIV2En0zYeCjTxslTJQq+epkCDdo+BDZzkWoiDnI7Mlcc1Q5AER1KVI0IOKz Zz4DHcA+k8UvxHpLMUXzsXfMAK6NhhISQXx9W03Sn9bjc4Xhx2Q6oG8W5ZrZCR0mBC1s JvjsNZPDZDf+RwacsjStDzq3VlfVW3XWYbsAwY2cFKcIxciN99kkN1IIOuiDZocfEZcB E3Zw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1700516791; x=1701121591; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=UFS8KKprIzFM0zE+Ai6M4ORed6sy7M8DbezDgWX5KRQ=; b=D4RNtdZIWQ0tDU1c20spgGA+nPp+ocSJ5C9iW18H08SUNGASu3Pc5KvZpZ4QSkqcZO CEJaxZ1dUG0/OIG5hQWhaLbsItVvZGIrHc6kO3Pg56O3hFSGG/W76AX4FaYTVw+obZBR zd8vSZ7cn29E+1tPsvtohWLmH4Fp+jah5zxeCtnJapl/rV/5yspVLTNWT1nCkeu2vHHv cn5Y5PyL8y58BBMOBmB1e+KYd56hTKx0riaCi0nyW/SobctVan8t1lqmP1Y8UrrP2str QZTzZW15easTc0boQsVdPEUS8avtiIlJrveBdx5EfUzy5DK72bnK143mKo3dGJk7jRil 5r5w== X-Gm-Message-State: AOJu0YzknZSbfLuhiTIMIbNQA3ZVTNRl5kZDL0kZz0CIA69FKrSVgYuj FX9ho2AOPDP1ziREnkwTZ6A= X-Google-Smtp-Source: AGHT+IGIRCD7UdLrZN9lSzHXmAgpmrQY5+HhoNLOuQvKT6vBAsOc+D+u9/DgXsMWlG54R5krCGbd6A== X-Received: by 2002:a5d:4151:0:b0:332:ca69:2fb5 with SMTP id c17-20020a5d4151000000b00332ca692fb5mr1904733wrq.11.1700516791362; Mon, 20 Nov 2023 13:46:31 -0800 (PST) Received: from zotac.lan. (dynamic-2a02-3100-9030-5a00-2223-08ff-fe18-0310.310.pool.telefonica.de. [2a02:3100:9030:5a00:2223:8ff:fe18:310]) by smtp.gmail.com with ESMTPSA id i13-20020a5d584d000000b00332cb0937f4sm2667052wrf.33.2023.11.20.13.46.30 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 20 Nov 2023 13:46:31 -0800 (PST) From: Heiner Kallweit To: Wolfram Sang , Maxime Ripard Cc: linux-i2c@vger.kernel.org, Heiner Kallweit , Chen-Yu Tsai , Maarten Lankhorst , Thomas Zimmermann , David Airlie , Daniel Vetter , Jernej Skrabec , Samuel Holland , dri-devel@lists.freedesktop.org, linux-arm-kernel@lists.infradead.org, linux-sunxi@lists.linux.dev, linux-kernel@vger.kernel.org Subject: [PATCH v4 04/20] drivers/gpu/drm/sun4i/sun4i_hdmi_i2c.c: remove I2C_CLASS_DDC support Date: Mon, 20 Nov 2023 22:46:07 +0100 Message-ID: <20231120214624.9378-5-hkallweit1@gmail.com> X-Mailer: git-send-email 2.42.1 In-Reply-To: <20231120214624.9378-1-hkallweit1@gmail.com> References: <20231120214624.9378-1-hkallweit1@gmail.com> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20231120_134633_710644_8586EEC0 X-CRM114-Status: GOOD ( 13.39 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org After removal of the legacy EEPROM driver and I2C_CLASS_DDC support in olpc_dcon there's no i2c client driver left supporting I2C_CLASS_DDC. Class-based device auto-detection is a legacy mechanism and shouldn't be used in new code. So we can remove this class completely now. Preferably this series should be applied via the i2c tree. Acked-by: Jernej Skrabec Signed-off-by: Heiner Kallweit --- drivers/gpu/drm/sun4i/sun4i_hdmi_i2c.c | 1 - 1 file changed, 1 deletion(-) diff --git a/drivers/gpu/drm/sun4i/sun4i_hdmi_i2c.c b/drivers/gpu/drm/sun4i/sun4i_hdmi_i2c.c index d1a65a921..f5f62eb0e 100644 --- a/drivers/gpu/drm/sun4i/sun4i_hdmi_i2c.c +++ b/drivers/gpu/drm/sun4i/sun4i_hdmi_i2c.c @@ -302,7 +302,6 @@ int sun4i_hdmi_i2c_create(struct device *dev, struct sun4i_hdmi *hdmi) return -ENOMEM; adap->owner = THIS_MODULE; - adap->class = I2C_CLASS_DDC; adap->algo = &sun4i_hdmi_i2c_algorithm; strscpy(adap->name, "sun4i_hdmi_i2c adapter", sizeof(adap->name)); i2c_set_adapdata(adap, hdmi);