From patchwork Mon Nov 27 23:10:19 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Linus Walleij X-Patchwork-Id: 170497 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:ce62:0:b0:403:3b70:6f57 with SMTP id o2csp3531444vqx; Mon, 27 Nov 2023 15:11:19 -0800 (PST) X-Google-Smtp-Source: AGHT+IGBei/v6h4D0svxjS/NPUC/TpxHnKsAjVCzQvAJVqSjV2KQO9L7Ip087NP5D0mQk/m1dasJ X-Received: by 2002:a17:902:dad0:b0:1cf:da41:7294 with SMTP id q16-20020a170902dad000b001cfda417294mr3053025plx.25.1701126679203; Mon, 27 Nov 2023 15:11:19 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1701126679; cv=none; d=google.com; s=arc-20160816; b=Julck103VzwZbWDXV9blkDDFtLyN1PzWwfpcg1Bqk3zdXysCkY92d9wzvIhHGaFC4j YRyrw/rzAg8VUpGbiwsdsyftTTAezGcZKPhdSk6nflYAoM7gm95KrzGy6IeLbMXQuIF+ A2ineVTVMnWao4XzEajAlRoSnMRApUHkWubNLlNhEhLPOH39g5Gj1ohRfRlUpdLMt9nG PM1DV8/KCoHbcPm9LUXy5t5Ys0aI8NX5PJIp0A5jOPIbvko3Gd4a1tdP/2dhSx2p6VRQ ODijLbiGdGmBitNRiMV5Cv8DlQgfw/LC/eeAil/4AfNM4cs/bCXNk6LXl5trBtgqmEBy pZOw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:in-reply-to:references:message-id :content-transfer-encoding:mime-version:subject:date:from :dkim-signature; bh=bFBvRvbyeQkmeHFtf4FwobIxdNGDTFW8Ona6LFco3UY=; fh=+YLsS4/XZSIZ0J2i1OPQBvVnWXXKWaGfe4EoWIBKM/g=; b=X92fS3MMq8awbjVlpXZvquiu4zxu8SCpuv3oy111aPO1I1/XrWMBiXDZ5HD1DE2kYo Fd2BxLo4tQEwNU0ERsRlwkfZYfTctuxaTJ8EwNsH3RFKZfdwHNMAWt7PbOo1V+MKxzcf pei91PK5kY/z3XuF2gG1hGnb/o+i/J21yJIuSs0eRRx/QK3jW7HLSod9r1iadN63xyuk 02IPX8vFR3Pq7rATvwQLLYI8PKLciGDC9lWfnaOY35yo2YSKMTjHMIyea9b0b/MuQscz +oi4VNJnqG8bdDfLgpwwBgFEu057qsGmzLSPh+WTRnYKCVaSFMK5ZdOG4LiIK6cwBJMF BwzA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b="nU5H/ph8"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.38 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from fry.vger.email (fry.vger.email. [23.128.96.38]) by mx.google.com with ESMTPS id v10-20020a1709029a0a00b001c60c109ce7si10231229plp.295.2023.11.27.15.11.18 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 27 Nov 2023 15:11:19 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.38 as permitted sender) client-ip=23.128.96.38; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b="nU5H/ph8"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.38 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by fry.vger.email (Postfix) with ESMTP id 72CCA809728C; Mon, 27 Nov 2023 15:11:16 -0800 (PST) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.11 at fry.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233721AbjK0XK2 (ORCPT + 99 others); Mon, 27 Nov 2023 18:10:28 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:58206 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233685AbjK0XKY (ORCPT ); Mon, 27 Nov 2023 18:10:24 -0500 Received: from mail-lf1-x12b.google.com (mail-lf1-x12b.google.com [IPv6:2a00:1450:4864:20::12b]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id E9C1B1AE for ; Mon, 27 Nov 2023 15:10:27 -0800 (PST) Received: by mail-lf1-x12b.google.com with SMTP id 2adb3069b0e04-5079f6efd64so6525718e87.2 for ; Mon, 27 Nov 2023 15:10:27 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1701126626; x=1701731426; darn=vger.kernel.org; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:subject:date:from:from:to:cc:subject:date:message-id :reply-to; bh=bFBvRvbyeQkmeHFtf4FwobIxdNGDTFW8Ona6LFco3UY=; b=nU5H/ph8MkQV9JN/z8U1h9yOSYA7SgXiTcX2mw1bGs4Pg61e2cRAztpjoh0jLNyfe4 Z2InicKR/HYeZZni2J2M4k/7Qui7zbElke6g766JaI9nufYVj2Nh0AspFeBEDgbvn8AI lqPjq3aUdKiZKx+EwrGGoMXNZfWIDLicnrqS/8h058K9SfVjekvNZlX9Nrox8oueQK9Z 4oKsYUc0Wle+eiAFIU0VBaAwVT4RofFc5N3fjM9RdVvNJ729J417h6o6NGQTYrJB5TED VhMvf6C+z6RX7ByKLhBoeZn9vAqmsMvOhHV2Cy3yGB4scUXmn2Bdq6l0RmH/yP2J9K8M SQzg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1701126626; x=1701731426; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:subject:date:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=bFBvRvbyeQkmeHFtf4FwobIxdNGDTFW8Ona6LFco3UY=; b=raBPNcKNq4ssZorkqR2A1qI4n0HU9k9YIpjfWahs04xqkZpoCwNvPkIo1e9q/FDcn9 w8YuvaCpWg9fE2uFFu7n9yRf/ugvXyHSA840jgYwGxlP41ZC3ihlokfwbwFqnGeV90BR o/CwvuQScepOwCQeUek4IuyNzgwYU/kM70VkKTarVTHBeuLYTmnTQCj4tSGmq5ST6S6E vJv/sF3ga30BOUytdsd7PCyimrlv4/Hj+ByPLL7reEfG1byfWS5klUULR5zEcCMnDNcL x4g78wDBQF5G/OjaXB/Q8CLNLPq0rqWbC/PRge5i+DLd4yvvlIT4dKmljzMfm0pjhSH4 t/8w== X-Gm-Message-State: AOJu0Yzb0JETBGdEeQXL2vTiaT4Pgg0Lphs81ZKP9HkxR+RA/4le0/f0 6LR8T98gq6dt8OqGAq0VMayv6A== X-Received: by 2002:ac2:4a6d:0:b0:50a:a9bf:a61e with SMTP id q13-20020ac24a6d000000b0050aa9bfa61emr8378429lfp.67.1701126625970; Mon, 27 Nov 2023 15:10:25 -0800 (PST) Received: from [192.168.1.2] (c-21d3225c.014-348-6c756e10.bbcust.telenor.se. [92.34.211.33]) by smtp.gmail.com with ESMTPSA id cf17-20020a056512281100b0050aa94e6d15sm1636877lfb.9.2023.11.27.15.10.24 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 27 Nov 2023 15:10:25 -0800 (PST) From: Linus Walleij Date: Tue, 28 Nov 2023 00:10:19 +0100 Subject: [PATCH 1/3] Revert "driver core: Export device_is_dependent() to modules" MIME-Version: 1.0 Message-Id: <20231128-revert-panel-fix-v1-1-69bb05048dae@linaro.org> References: <20231128-revert-panel-fix-v1-0-69bb05048dae@linaro.org> In-Reply-To: <20231128-revert-panel-fix-v1-0-69bb05048dae@linaro.org> To: Liu Ying , Greg Kroah-Hartman , "Rafael J. Wysocki" , Andrzej Hajda , Neil Armstrong , Robert Foss , Laurent Pinchart , Jonas Karlman , Jernej Skrabec , Maarten Lankhorst , Maxime Ripard , Thomas Zimmermann , David Airlie , Daniel Vetter Cc: linux-kernel@vger.kernel.org, dri-devel@lists.freedesktop.org, Linus Walleij X-Mailer: b4 0.12.4 X-Spam-Status: No, score=-0.9 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on fry.vger.email Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (fry.vger.email [0.0.0.0]); Mon, 27 Nov 2023 15:11:16 -0800 (PST) X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1783760608612230847 X-GMAIL-MSGID: 1783760608612230847 This reverts commit 1d5e8f4bf06da86b71cc9169110d1a0e1e7af337. Greg says: "why exactly is this needed? Nothing outside of the driver core should be needing this function, it shouldn't be public at all (I missed that before.) So please, revert it for now, let's figure out why DRM thinks this is needed for it's devices, and yet no other bus/subsystem does." Link: https://lore.kernel.org/dri-devel/2023112739-willing-sighing-6bdd@gregkh/ Signed-off-by: Linus Walleij Acked-by: Neil Armstrong --- drivers/base/core.c | 1 - 1 file changed, 1 deletion(-) diff --git a/drivers/base/core.c b/drivers/base/core.c index bfd2bf0364b7..67ba592afc77 100644 --- a/drivers/base/core.c +++ b/drivers/base/core.c @@ -328,7 +328,6 @@ int device_is_dependent(struct device *dev, void *target) } return ret; } -EXPORT_SYMBOL_GPL(device_is_dependent); static void device_link_init_status(struct device_link *link, struct device *consumer,