Received: by 2002:a25:7ec1:0:0:0:0:0 with SMTP id z184csp2722535ybc; Mon, 18 Nov 2019 03:42:12 -0800 (PST) X-Google-Smtp-Source: APXvYqxTC+r7TN7KOr379Ktjvd0sRFKsdXx8f5Ipm1OJ7C6Fv0lmWIa4bvjtZTK4f4JFpRS9V5/r X-Received: by 2002:a17:906:80c:: with SMTP id e12mr26383838ejd.59.1574077332163; Mon, 18 Nov 2019 03:42:12 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1574077332; cv=none; d=google.com; s=arc-20160816; b=M8bjYvfx4/ATdZSucXWYIQuVjEL5dhVVv8/9QEEJsUuXMgQVt4wNV5ZaCxYBrV7Nbq CWNHwDgL3cXSBw9jNYyO3m+l1MDChuTXO9Orz+TLwv7UvuPsB8cozHi65eNgKOOdrAVW 8dPExodqQb3JUIfE2YCTyEba6P5aozjb1LxAX8EENbxgPEqm7nuM9V2AVfA2a/Uorusw MbW1xL02eBNI9Ugz4QH9jE/zgaTY2huHaxWzu8h+ESyIFskVHCQd525xC1u04gzSElG2 vxZq6emy06O3u0fNbnNaZ8Bg7D0tZ5GPWBHX0RqDULVHCxM9GOk8kADlstzv411ne7Dz JV3Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:to:content-transfer-encoding:mime-version :message-id:date:subject:cc:from:dkim-signature; bh=UKlXFmsyCCcDDwPIPUpIzSPGgE4nu5epjuY/dy6jNM4=; b=dCguVa87Nf/FfZBwytdSnAGTUYJeu64wxsKUqx6dOHrOpRL7kfsaGDIEXw+ZV8lLvx AZL8oTGGwRWXNqTppjdFBdmrHqJfQNKFjNIEXPJmXwxLqaNVJ2TTAEubNzFy7KtBxt4p eex7EYLGKdKo6f/zwsyVlnstLXZVPFVI8cf0OyOZ+4z6ZBa2D8XYandMqiST4rqnoCWg kCK+aZUzyiIsyiv1F0oXFHf2Z+CXp977CRmELNHuZ15BIy3IJv0w7t1Cs3pnWspB7uE8 DeO6pXD1xyryJtsHsTKVXnV4ozENsnl5VsDb8XLJgHzJLDDKGICw+YztdwRD5VNd2g1W /m8Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@gmail.com header.s=20161025 header.b=ROuGzm4j; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id b9si13106356eda.115.2019.11.18.03.41.47; Mon, 18 Nov 2019 03:42:12 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=fail header.i=@gmail.com header.s=20161025 header.b=ROuGzm4j; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726717AbfKRLkN (ORCPT + 99 others); Mon, 18 Nov 2019 06:40:13 -0500 Received: from mail-pj1-f68.google.com ([209.85.216.68]:46412 "EHLO mail-pj1-f68.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726562AbfKRLkN (ORCPT ); Mon, 18 Nov 2019 06:40:13 -0500 Received: by mail-pj1-f68.google.com with SMTP id a16so1415932pjs.13; Mon, 18 Nov 2019 03:40:11 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=UKlXFmsyCCcDDwPIPUpIzSPGgE4nu5epjuY/dy6jNM4=; b=ROuGzm4jkxrXQOcqLXKOOHwYgxDKwtdPl3VFO5rmmHsV1yBi4P8YFqizjyeHwzceSm NTwkx2EPcWAlt2MSDtu17OAdb9h1kHTZ2fFPvUFN3W+rvpe1WKWpC/YvImORx4Lx3UfP +zvyMSMsSqHOJhHMxRmHZT+A5r9rvh+R36tPkhcC86rtI9t7T00B2X5ftPl0q/uk9dTG 9tGWjvKyI0dNVhq8TBFPW3wSqvoU9FiyDXk81jWxks+VNiz8/bvtINGEwtZMFGUliW6E MmRoh/81FIXROovu5KFBZF1PaD7Y0i4NZTpMOQ6AfJo8pAwK5xYlYPfXylyBF3coPa5q JEiw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=UKlXFmsyCCcDDwPIPUpIzSPGgE4nu5epjuY/dy6jNM4=; b=NC/sjbw8MmZ1FwH1yJSUu8ycgsQlgjPIPNxbW4uUqekoA3XTpiOgxKbxBy3csBzr/c 9EX3kt+ol2/u86cm90U1Y9Umtuk7zHafwBbuyTlwhueryqIZlDA1mwHE8WS8q/LKs/Nj NWLj7DAsuKGgcIm5n8c6Q4d7UyGoJQKU+dMt8f46/knpT0jpGCZQHC6vUmwiqUpA7kII D22kg992Hft6XnZvCddCBCSGej5n8HNy5P/RZP0PJRArkrNdEOt8FHJNqt60GyCtEg92 SwutBo3KkT79sUQ0oi58UOT9HAV2FSqnk6FpHxwBYLPetUX/DdQPrXhnxg58NMk2tWkb lFyA== X-Gm-Message-State: APjAAAVRQoxwnT4SAF8fX+lLGcn8fkTGAD2PDNxvjnExkfDd7RVpT2TZ jFx5EnXRi2dG2DcK1UPLT44= X-Received: by 2002:a17:90a:9741:: with SMTP id i1mr39483570pjw.41.1574077211147; Mon, 18 Nov 2019 03:40:11 -0800 (PST) Received: from suzukaze.ipads-lab.se.sjtu.edu.cn ([202.120.40.82]) by smtp.gmail.com with ESMTPSA id l21sm17515128pjt.28.2019.11.18.03.40.03 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 18 Nov 2019 03:40:10 -0800 (PST) From: Chuhong Yuan Cc: Inki Dae , Joonyoung Shim , Seung-Woo Kim , Kyungmin Park , David Airlie , Daniel Vetter , Kukjin Kim , Krzysztof Kozlowski , dri-devel@lists.freedesktop.org, linux-arm-kernel@lists.infradead.org, linux-samsung-soc@vger.kernel.org, linux-kernel@vger.kernel.org, Chuhong Yuan Subject: [PATCH] drm/exynos: gsc: add missed component_del Date: Mon, 18 Nov 2019 19:39:55 +0800 Message-Id: <20191118113955.25373-1-hslester96@gmail.com> X-Mailer: git-send-email 2.24.0 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit To: unlisted-recipients:; (no To-header on input) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org The driver forgets to call component_del in remove to match component_add in probe. Add the missed call to fix it. Signed-off-by: Chuhong Yuan --- drivers/gpu/drm/exynos/exynos_drm_gsc.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/gpu/drm/exynos/exynos_drm_gsc.c b/drivers/gpu/drm/exynos/exynos_drm_gsc.c index 7ae087b0504d..88b6fcaa20be 100644 --- a/drivers/gpu/drm/exynos/exynos_drm_gsc.c +++ b/drivers/gpu/drm/exynos/exynos_drm_gsc.c @@ -1313,6 +1313,7 @@ static int gsc_remove(struct platform_device *pdev) { struct device *dev = &pdev->dev; + component_del(dev, &gsc_component_ops); pm_runtime_dont_use_autosuspend(dev); pm_runtime_disable(dev); -- 2.24.0