Received: by 2002:a25:ad19:0:0:0:0:0 with SMTP id y25csp6043639ybi; Sun, 21 Jul 2019 08:03:29 -0700 (PDT) X-Google-Smtp-Source: APXvYqxiiF2/3/FOqoIJoEid3S9L+zxECex5toxcoK41hY5aHbeRrx54nj1HfAMq4Cy4r3q2kqTI X-Received: by 2002:a17:902:aa88:: with SMTP id d8mr66742836plr.274.1563721409721; Sun, 21 Jul 2019 08:03:29 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1563721409; cv=none; d=google.com; s=arc-20160816; b=oyGh7NFFz0s+3X9d+nlmrGgYIanvCHT+apH0qVVDrSmkDMW/0e+esUsUwMuebRE9pj ZNFtiasqy1bRs73SslFl9QYR16pRJjMqRaZE7vi74cpyyHhZrVQGyjYrVduLfcGIZmQ5 4dqfSl6CgbecSZumEXTTXfszWBbjusuzplRE6Q/7mCC1sQtLkuM1iJ6x1LAIP/dE/pum jly0tyYxvSKOQkYYExoB3Tt0muQkCNI46cygsPqubKRc7B3q4nAS8LvGn+HpkwmIxexi jFmqNXPbbp75vVeNdurln1mtDu66jQyUi2ODly2Ku2RkRmLDMJpFKAPedzyokJ7IAMja IiqQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :user-agent:organization:references:in-reply-to:date:cc:to:from :subject:message-id; bh=xs5CoCGVhfVfp6cM0WiNZaSiBv2Ku2RXphvasTp1EA4=; b=n0unKWN3yxcu/w6nhk+cJ6HPQh/NzgkPxyKTLgtRYFQeDOU4L2+Mby4ofxVYAolkgG BljvkqCWqV6kcqJIrljkgeaKHU7O7OycC+YStz0lvygte6iaq+OEL94la+cAVuTR68Ln EcGy4gIah5NYEInU2lSLpblF8x5Jrv8DfOlUJl1PSx+Ld/BxrIAFZ1KC1cKtvlF0hgs8 rcyoddiqgBPnmst+ShDVxKq1Qeyaqqibyvr30mFUJg/qNkxLOmYjAYGOtBqFvbckYh3b M9uxCK949ZvD1svXjMadZj4UVnCPOgF437doidbEF3sqVsA136uTrEQ2DzD4iupM3rnJ Telw== ARC-Authentication-Results: i=1; mx.google.com; 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=NONE dis=NONE) header.from=collabora.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id j3si6681820pgt.460.2019.07.21.08.03.13; Sun, 21 Jul 2019 08:03:29 -0700 (PDT) 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; 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=NONE dis=NONE) header.from=collabora.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726619AbfGUPCz (ORCPT + 99 others); Sun, 21 Jul 2019 11:02:55 -0400 Received: from bhuna.collabora.co.uk ([46.235.227.227]:55890 "EHLO bhuna.collabora.co.uk" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726399AbfGUPCy (ORCPT ); Sun, 21 Jul 2019 11:02:54 -0400 Received: from [127.0.0.1] (localhost [127.0.0.1]) (Authenticated sender: ezequiel) with ESMTPSA id E8208283D5D Message-ID: Subject: Re: [PATCH v3] media: dvb: Provide 4 devm variants From: Ezequiel Garcia To: Marc Gonzalez , Sean Young , Brad Love , Mauro Carvalho Chehab , Jonathan =?ISO-8859-1?Q?Neusch=E4fer?= Cc: linux-media , LKML , Bjorn Andersson , Guenter Roeck Date: Sun, 21 Jul 2019 12:02:44 -0300 In-Reply-To: <068836c7-a116-7e6f-cbb2-f2176fbb9a38@free.fr> References: <068836c7-a116-7e6f-cbb2-f2176fbb9a38@free.fr> Organization: Collabora Content-Type: text/plain; charset="UTF-8" User-Agent: Evolution 3.30.5-1.1 MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Marc, Thanks for your patch. On Thu, 2019-07-18 at 15:03 +0200, Marc Gonzalez wrote: > Provide devm variants for automatic resource release on device removal. > Makes error-handling in probe() simpler, thus less error-prone. > Once all resources are devmanaged, remove() is no longer needed. > I think it would be better to add this API as part of a series that also uses it. Regards, Eze