Received: by 2002:a05:6500:1b8f:b0:1fa:5c73:8e2d with SMTP id df15csp1157506lqb; Thu, 30 May 2024 01:50:09 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCW3UODshK5vERfTF6yzgHq/+bIjXYP/hDfLhPPO2ua5tjJgLTgt2kJcLE1BqbE8Qv5J3BcJ9EpK4d7dFYBQDN5YkMfYm0wSxOMnFiMJ/Q== X-Google-Smtp-Source: AGHT+IGLRtaazgOUC8f5j9rEWVJrhVrwBv0SmCnWL+xUN+P2LhgbnhJjF4HEfMuo+L3ZP5TD898C X-Received: by 2002:a05:6a00:800d:b0:6f3:ea4b:d24d with SMTP id d2e1a72fcca58-70231108f8emr1552590b3a.9.1717059009304; Thu, 30 May 2024 01:50:09 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1717059009; cv=pass; d=google.com; s=arc-20160816; b=eINQo9G6hrmS3y3NZ8muTbzoreI2xxX01MbjYCOOJ1fuxB8+6iTQXhdE0Ms0Dap0gA WzHsQKlTSFDg2mVybMDV4qU8riZ6Feg8oq5/pwaDBw4yl86ytCnxPHcqUI1AZxya1LH3 vaxbw1GACQnxVJceobBBYJMpvwn0JBufhN3jEmd1yKJ7AN+ai0Q2JkmvroIGw6tWefpq aOEjx63No4VcCNQ9gYtBnU+1KJr9kV17aMpSkzChowbuvQ1RuEACBrlRRvbTKImZf/lZ jz/ZFb6L4/1rjInfQvhYl4iZbqQjHRXf3VVlOM09tvd1RgMKDOEnIolxtVJC5MgmXhHk fCQQ== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-unsubscribe:list-subscribe:list-id:precedence :content-transfer-encoding:cc:references:in-reply-to:subject:to:from :date:message-id:dkim-signature; bh=/pJLTw/UYnqAleGDfZihXTGpCSFMW8LC5632EesSmOs=; fh=35h0qPxBzaKa+loJVNZ13NyVU6t2KaziRPFCpO4/98U=; b=tvwZKOTSTdEpV9iqcPjjNWdUAQC00vNaGR3HGoL/Atk7ev6LmT5bgXmH5kkSN4gE7L yKV8nz6O2SWHmjO8LUR94zpnc3HU/RwCL6/hAzsVrTswg/QiejSNk6qSDK/VjRmvf0Ml N+V0rCYKoLuqu7AnKwJ+aBj92+0pZn65L+6CP5u4G9qoFwt6ah5SziPSO3yVkS93x9+x Nef2UIfMDL+O5ryU9G5GD15KwA1uJ5V8BNzr02n88hmNhAMAY5RnRrBNMw0oLpQwpZ6F tBGrOjPfOexb7RmXZAcVXXQgY19uIbcoJ9LWZ0nKIKg1dReqWBeLdeCfIDxRVkpFxT/y kDaA==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b="TKozrd/s"; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-195091-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-195091-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [2604:1380:45e3:2400::1]) by mx.google.com with ESMTPS id d2e1a72fcca58-70223303cb8si2193233b3a.384.2024.05.30.01.50.09 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 30 May 2024 01:50:09 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-195091-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) client-ip=2604:1380:45e3:2400::1; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b="TKozrd/s"; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-195091-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-195091-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by sv.mirrors.kernel.org (Postfix) with ESMTPS id E9A48284427 for ; Thu, 30 May 2024 08:50:08 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id BAA1115B554; Thu, 30 May 2024 08:50:02 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="TKozrd/s" Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id E01F9155336; Thu, 30 May 2024 08:50:01 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1717059002; cv=none; b=PvZo/2IkEFrx35EO1n7R7a/lL/eaFhNlZLjHNKPzQUbT6NiekjBneAgRu8COTxesXV8WfAQZb/8e/ATQ8aYjBkOKM2Qz1m6j5MvHDqXC7x3n/o9fOAXF4WoM/OQVKeXBDlaoV8ef/2LOMQOiswW6/SRcUlbJHu9N5k32hT3YrlA= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1717059002; c=relaxed/simple; bh=2DXQrqvVhn7otPeeh3pzCu9NQCv4f7YT6NDKPqdXedE=; h=Message-ID:Date:From:To:Subject:In-Reply-To:References:Cc; b=TqIxDuMg90gEddmNpF2l0rJlLhXFweHvlckV+qBvaZigX4wFp+Q5H448AwWORpWm38vCFtOhOxtU5fh/FE/nY4gDwo3JqoEPZKC12xz8gRnHfHK06HzZjT3nR6OaMj3bAzkHTA8GchYIRu8aW25w9KX9aw8c/H4cGnhB49Cz5ng= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=TKozrd/s; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPSA id E4720C2BBFC; Thu, 30 May 2024 08:50:00 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1717059001; bh=2DXQrqvVhn7otPeeh3pzCu9NQCv4f7YT6NDKPqdXedE=; h=Date:From:To:Subject:In-Reply-To:References:Cc:From; b=TKozrd/sfuLL8YZ3I/qoW8DNZRo0fy62JLiLLByUT572EOQX/IHePNikrojJDnhJZ 930TYhi9LNdQZdXCkQ0veUcNqonnm45usg+yWOZrz3TCfGsff38o+piGnlbrC3XlCe 5qa4uhXWDe7q7BXs7YgmxRNr8e1ZB0CxGh2dc4ZrjUyHDaWmDXnA7eNKCzSx6E8ZmT L0iSEO2gRlCkGXBETlPtO7Ln+WYTtfsM5LRx5FNu/8eSl+iZLpNbUfzq95omOmz/pE B+z22BvS8j2dMZwnyfXT7+zgvi6TC96O+RcIR2coO9xBRaSQVQUiSCxImNA1jTlgyZ 4UWXu2nHsy/Dg== Message-ID: <61893982881596ef18a206f2f3ed152e@kernel.org> Date: Thu, 30 May 2024 08:49:58 +0000 From: "Maxime Ripard" To: "Dmitry Baryshkov" Subject: Re: [PATCH v3 2/7] drm/bridge-connector: switch to using drmm allocations In-Reply-To: <20240530-bridge-hdmi-connector-v3-2-a1d184d68fe3@linaro.org> References: <20240530-bridge-hdmi-connector-v3-2-a1d184d68fe3@linaro.org> Cc: dri-devel@lists.freedesktop.org, freedreno@lists.freedesktop.org, linux-arm-msm@vger.kernel.org, linux-kernel@vger.kernel.org, "Abhinav Kumar" , "Andrzej Hajda" , "Daniel Vetter" , "David Airlie" , "Jernej Skrabec" , "Jonas Karlman" , "Laurent Pinchart" , "Maarten Lankhorst" , "Marijn Suijten" , "Maxime Ripard" , "Neil Armstrong" , "Rob Clark" , "Robert Foss" , "Sean Paul" , "Thomas Zimmermann" Content-Transfer-Encoding: 7bit Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: On Thu, 30 May 2024 02:12:25 +0300, Dmitry Baryshkov wrote: > Turn drm_bridge_connector to using drmm_kzalloc() and > drmm_connector_init() and drop the custom destroy function. The > drm_connector_unregister() and fwnode_handle_put() are already handled > by the drm_connector_cleanup() and so are safe to be dropped. > > > [ ... ] Acked-by: Maxime Ripard Thanks! Maxime