From patchwork Wed Apr 6 08:12:50 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jagan Teki X-Patchwork-Id: 1900 Return-Path: X-Original-To: linux-amarula@patchwork.amarulasolutions.com Delivered-To: linux-amarula@patchwork.amarulasolutions.com Received: from mail-pf1-f197.google.com (mail-pf1-f197.google.com [209.85.210.197]) by ganimede.amarulasolutions.com (Postfix) with ESMTPS id 900993F067 for ; Wed, 6 Apr 2022 10:13:16 +0200 (CEST) Received: by mail-pf1-f197.google.com with SMTP id p187-20020a6229c4000000b004fb57adf76fsf1181002pfp.2 for ; Wed, 06 Apr 2022 01:13:16 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1649232795; cv=pass; d=google.com; s=arc-20160816; b=PbTW8QokDUK5ZsyN4nAruTWSnqFhxM+dqOlq0ViSGcpYgyTJGDLxYStlRtk370GHMV 4O4QqkKVAwpKsEOJkHGXKYIhq97XQ9+GcKJfYnaQ+IDlH7z8M0ifL1OQucGsHd24x4jX OsYowc3Vyzw/rK0vpk9b4tHXJrbiPX7tysGscWwVrccvjTBSLtNAtUUt1zHnYcJhv8J/ zAWCRoihm+aZxkE4PUhWsP+B9YaEdJLSj/SFE6NueN3pwFeoSidhWsg1lpuSW9I2XISy 3FuGCGpvIjceTkaRbHI5v8YjxhGumf0whRypG5HPvCk+oXE9Ub8xZKLpkbYVsSubdBIK S2jQ== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-unsubscribe:list-archive:list-help:list-post:list-id :mailing-list:precedence:mime-version:message-id:date:subject:cc:to :from:dkim-signature; bh=wFhA6kefLLS5L4HG0c44HZGBSWkwluT1XD6j3VPnmCU=; b=EdJ+VSB2gGKnIHczY1duo3pZqmyDspwCztag6WjMexydrEeFPiz4FXT2upxUMNQquB GAlRZwUNa6Nj4iGHLC85CE2KBRY0es8qAAFQM2HzZfHYpOWYjJjbLabrmwGSeN532uS8 3lQica86NGTxPsT5IkouAAYFrTq91PPjU1nKMaeTa5yyeeYrOSELk1Fy4atT86BjfVsI WTOes35KmcktM8RxNs5VJTIPrc0AAVjbzy5vWMZZNkrCiC5bsBTudaPUxt0Uh67skJRc wjbK5LfIxALTZ5+SSvQAB2Jx28QYBxqdzUs+1pkh4GnrVrpPuAfJhQTn0CiKJaCxVZJF auVw== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=B5mW6bMy; spf=pass (google.com: domain of jagan@amarulasolutions.com designates 209.85.220.41 as permitted sender) smtp.mailfrom=jagan@amarulasolutions.com; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=amarulasolutions.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=amarulasolutions.com; s=google; h=from:to:cc:subject:date:message-id:mime-version:x-original-sender :x-original-authentication-results:precedence:mailing-list:list-id :list-post:list-help:list-archive:list-unsubscribe; bh=wFhA6kefLLS5L4HG0c44HZGBSWkwluT1XD6j3VPnmCU=; b=d8WN5KEmzmiOtVgJkthtwkOrNZFodUAuqgP5EA4t4Wp30Zs+KIQtIDgFNVgY6M1iHr VtoFECipqb35Qo3Ctppj0TTLdc7uDGWjgl5qMkrfzMHm5JoLorNNxDw5qL0wcVbK6lN9 sTZ6Zb8K6JxZw5f7luv5lgFYA1wX/uDtMVrKM= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:date:message-id:mime-version :x-original-sender:x-original-authentication-results:precedence :mailing-list:list-id:x-spam-checked-in-group:list-post:list-help :list-archive:list-unsubscribe; bh=wFhA6kefLLS5L4HG0c44HZGBSWkwluT1XD6j3VPnmCU=; b=w6tsqgXXX2Q1Lxz4bc5t+pLfSXOCJEBfLNs0oR9XLRwQyebX4UZ19fF1HG/QlMsQLk TdjpczCB3Xg8NUStXDUxuJZJaKM/LzggXrs3jYWyTji5kC/x2GBivRg1NvMIDt9uO4JI AbGh2QoT2m4a/+GOxMCpHFAH0qMlGHZzQsLN7MXXaSN217Hi5cH1eb/UhG9w5oBA3Abd w0z9HRqKVyWjjzlvQPG+1EBecvXSgINuCFZH+0rAOloya/69rysxlFSwIKkvr1bJ1Cih xfMjuRIZpYSZkUFAWxw7vlEyuwbpiItsNbOgGgPRyZ7v7VZRxpLU3hvRYkQtgwjJDxkg up1A== X-Gm-Message-State: AOAM531yuxbk9rMNrr9ifBMyBkXtbJfpvLtGScE9jFxUz7DOt83U8SEj AnJzyne6Io9tfpuiDFp/NFp1myS8 X-Google-Smtp-Source: ABdhPJyI4zdnKO4Ii8+sdRqHXTUt6vMQKm9HvIzpCt2796/F2lvIq27eeRnjmshL+L0IiHY49FQ0hA== X-Received: by 2002:a17:90a:e50c:b0:1c7:c5e2:36e3 with SMTP id t12-20020a17090ae50c00b001c7c5e236e3mr8593627pjy.245.1649232795212; Wed, 06 Apr 2022 01:13:15 -0700 (PDT) X-BeenThere: linux-amarula@amarulasolutions.com Received: by 2002:a17:90b:1803:b0:1c7:2b53:89ea with SMTP id lw3-20020a17090b180300b001c72b5389eals5011558pjb.2.canary-gmail; Wed, 06 Apr 2022 01:13:14 -0700 (PDT) X-Received: by 2002:a17:902:ba83:b0:154:727e:5fc5 with SMTP id k3-20020a170902ba8300b00154727e5fc5mr7697493pls.55.1649232794426; Wed, 06 Apr 2022 01:13:14 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1649232794; cv=none; d=google.com; s=arc-20160816; b=leDJHMGpxiSN8p5JIEBwT68D1h+lLCdpLm6gqh/tmO2Ckwi/CYZvjXaOWj5XmOAoak +vfj80R6xQs3nWN/z3tYp5FOu5Tew8GUdPcC9PbEEM2rton63yZUZbds3dMEwg6D4vbJ m3cPnDV2kVUfbV00rLpy+IYtXE56EWHSIWzFW5YgxlWu339Z9SuU7S3fSEemj6HzMiHT CDax9sy9RxSmJsEcojpK0gHMNQ+zjvpT2kTsgQmAWYyqrf0HVNnMERAVckLrArv2JNmo E4mLJgbN7WdvHbPdo5bSqliTvty7ZglAXQfPIS8JUEod8tOyI9YJ4wUEytX0AYOCj0Ft xZkA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:dkim-signature; bh=VrE7MQ9M1YSw9ReLPBcfWeZseEAauGJw2LI8u3+GkAU=; b=KgXOuw3U+dD8d7386pmcds//gZFI0rv2Cq9hKjba2XSU/B6sJSYUMduo0HJzv1JjCo gugxYFbp7ST1t7s9M+jfBqSmwGhL+eUNx1Yd/aOftETgkDn2omPycsrFTbFSIEkYOZgL Be8ZI7UvAOn5pimFhZNGpujHGhBzL1ZRgUM8kbS2qivHPN/FKukYAoW6ep+tzqXd2psA erbc7g6q8Ei/24/i8pCrrNgKMUNv5XpVESKU7Oz1YrO9mEbCJY4GdOLpT1L2crAVoxuJ 7ByRKpepJl3/hYN2yrhsR2PLIuXukDGfdHIas6Lwo+azmly+8QJK9Vcr3RXZohDAIGjf Z10g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=B5mW6bMy; spf=pass (google.com: domain of jagan@amarulasolutions.com designates 209.85.220.41 as permitted sender) smtp.mailfrom=jagan@amarulasolutions.com; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=amarulasolutions.com Received: from mail-sor-f41.google.com (mail-sor-f41.google.com. [209.85.220.41]) by mx.google.com with SMTPS id j3-20020a62c503000000b004fac74c7f77sor8549262pfg.23.2022.04.06.01.13.14 for (Google Transport Security); Wed, 06 Apr 2022 01:13:14 -0700 (PDT) Received-SPF: pass (google.com: domain of jagan@amarulasolutions.com designates 209.85.220.41 as permitted sender) client-ip=209.85.220.41; X-Received: by 2002:a05:6a00:a26:b0:4fd:f9dd:549c with SMTP id p38-20020a056a000a2600b004fdf9dd549cmr7673269pfh.42.1649232794014; Wed, 06 Apr 2022 01:13:14 -0700 (PDT) Received: from localhost.localdomain ([2405:201:c00a:a0a9:64b9:79b8:9695:b4c4]) by smtp.gmail.com with ESMTPSA id u62-20020a638541000000b00382791c89efsm15452013pgd.13.2022.04.06.01.13.07 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 06 Apr 2022 01:13:13 -0700 (PDT) From: Jagan Teki To: Andrzej Hajda , Neil Armstrong , Robert Foss , Inki Dae , Marek Szyprowski Cc: dri-devel@lists.freedesktop.org, linux-amarula@amarulasolutions.com, Jagan Teki Subject: [PATCH] drm: exynos: dsi: Drop explicit NULL to out_bridge Date: Wed, 6 Apr 2022 13:42:50 +0530 Message-Id: <20220406081250.342286-1-jagan@amarulasolutions.com> X-Mailer: git-send-email 2.25.1 MIME-Version: 1.0 X-Original-Sender: jagan@amarulasolutions.com X-Original-Authentication-Results: mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=B5mW6bMy; spf=pass (google.com: domain of jagan@amarulasolutions.com designates 209.85.220.41 as permitted sender) smtp.mailfrom=jagan@amarulasolutions.com; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=amarulasolutions.com Content-Type: text/plain; charset="UTF-8" Precedence: list Mailing-list: list linux-amarula@amarulasolutions.com; contact linux-amarula+owners@amarulasolutions.com List-ID: X-Spam-Checked-In-Group: linux-amarula@amarulasolutions.com X-Google-Group-Id: 476853432473 List-Post: , List-Help: , List-Archive: List-Unsubscribe: , This driver has been changed to use the resource managed devm_drm_of_get_bridge() to get bridge from ->attach(), it's unnecessary to assign NULL to out_bridge to remove the bridge from ->detach() as devm_drm_of_get_bridge() is automatically remove the bridge when @dev is unbound. Drop explicit NULL assignment to out_bridge. Signed-off-by: Jagan Teki --- drivers/gpu/drm/exynos/exynos_drm_dsi.c | 1 - 1 file changed, 1 deletion(-) diff --git a/drivers/gpu/drm/exynos/exynos_drm_dsi.c b/drivers/gpu/drm/exynos/exynos_drm_dsi.c index 06130eee8df8..5fe262f31065 100644 --- a/drivers/gpu/drm/exynos/exynos_drm_dsi.c +++ b/drivers/gpu/drm/exynos/exynos_drm_dsi.c @@ -1500,7 +1500,6 @@ static int exynos_dsi_host_detach(struct mipi_dsi_host *host, if (dsi->out_bridge->funcs->detach) dsi->out_bridge->funcs->detach(dsi->out_bridge); - dsi->out_bridge = NULL; if (drm->mode_config.poll_enabled) drm_kms_helper_hotplug_event(drm);