From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-2.2 required=3.0 tests=HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED,USER_AGENT_SANE_1 autolearn=no autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 2A43AC4724C for ; Fri, 1 May 2020 16:57:02 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 102BC20836 for ; Fri, 1 May 2020 16:57:02 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1729155AbgEAQ5B (ORCPT ); Fri, 1 May 2020 12:57:01 -0400 Received: from foss.arm.com ([217.140.110.172]:43990 "EHLO foss.arm.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728841AbgEAQ5B (ORCPT ); Fri, 1 May 2020 12:57:01 -0400 Received: from usa-sjc-imap-foss1.foss.arm.com (unknown [10.121.207.14]) by usa-sjc-mx-foss1.foss.arm.com (Postfix) with ESMTP id 11ADA30E; Fri, 1 May 2020 09:57:01 -0700 (PDT) Received: from bogus (unknown [10.37.12.80]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPSA id 855B13F305; Fri, 1 May 2020 09:56:57 -0700 (PDT) Date: Fri, 1 May 2020 17:56:54 +0100 From: Sudeep Holla To: Rob Herring Cc: Linus Walleij , Liviu Dudau , Lorenzo Pieralisi , Kevin Brodsky , Arnd Bergmann , Catalin Marinas , Greg Kroah-Hartman , Lee Jones , Sudeep Holla , Sebastian Reichel , Stephen Boyd , Will Deacon , linux-arm-kernel@lists.infradead.org, linux-clk@vger.kernel.org, linux-pm@vger.kernel.org Subject: Re: [PATCH v2 10/16] mfd: vexpress-sysreg: Use devres API variants Message-ID: <20200501165654.GG14018@bogus> References: <20200429205825.10604-1-robh@kernel.org> <20200429205825.10604-11-robh@kernel.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20200429205825.10604-11-robh@kernel.org> User-Agent: Mutt/1.9.4 (2018-02-28) Sender: linux-clk-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-clk@vger.kernel.org On Wed, Apr 29, 2020 at 03:58:19PM -0500, Rob Herring wrote: > Use the managed devm_gpiochip_add_data() and devm_mfd_add_devices() > instead of their unmanaged counterparts. With this, no .remove() hook is > needed for driver unbind. > > Cc: Liviu Dudau > Cc: Sudeep Holla Reviewed-by: Sudeep Holla -- Regards, Sudeep From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-2.2 required=3.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,SPF_HELO_NONE, SPF_PASS,URIBL_BLOCKED,USER_AGENT_SANE_1 autolearn=no autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 5118DC47253 for ; Fri, 1 May 2020 16:57:09 +0000 (UTC) Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 143F320836 for ; Fri, 1 May 2020 16:57:09 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="NLMl/vKf" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 143F320836 Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=arm.com Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-arm-kernel-bounces+infradead-linux-arm-kernel=archiver.kernel.org@lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender: Content-Transfer-Encoding:Content-Type:Cc:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:In-Reply-To:MIME-Version:References: Message-ID:Subject:To:From:Date:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=lbDZTNsOVDtZAeT4Iq+0g04ufN/CgToYIm3vUBjs+Fg=; b=NLMl/vKfGzButY jaZaYrpLIaYn+lVq3kB6hTC1tulHcNRyQdQKgKbzknYVS0/TTZhLdoPmGFdLCGoMuTz082y6OZ7/A Mn22bGHEQjUurC+7swQM5tVjcHvgmD1QhTwOqgqJqyrfIxKy5ynEmtCazXSsTiV+QyLylNNiJLSQC RUkqubzjrHx0xdX5ISWkqVeWQazIiJnIxEkuVbF2zGrpKqZyliQjEMTDJTmfhOjD4omNKg2pPPOwt o/Nmq0zZuDD+AiZWm2dbpAst3kbqfVsL8ZRhAFf8tBE4XxtDl6TCQev1wHl6dN9fJVg3zTgB2NFcq 4ez4OyeFKzDKEpc1anig==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1jUYyG-0002yY-AE; Fri, 01 May 2020 16:57:04 +0000 Received: from foss.arm.com ([217.140.110.172]) by bombadil.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1jUYyD-0002xo-Fu for linux-arm-kernel@lists.infradead.org; Fri, 01 May 2020 16:57:02 +0000 Received: from usa-sjc-imap-foss1.foss.arm.com (unknown [10.121.207.14]) by usa-sjc-mx-foss1.foss.arm.com (Postfix) with ESMTP id 11ADA30E; Fri, 1 May 2020 09:57:01 -0700 (PDT) Received: from bogus (unknown [10.37.12.80]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPSA id 855B13F305; Fri, 1 May 2020 09:56:57 -0700 (PDT) Date: Fri, 1 May 2020 17:56:54 +0100 From: Sudeep Holla To: Rob Herring Subject: Re: [PATCH v2 10/16] mfd: vexpress-sysreg: Use devres API variants Message-ID: <20200501165654.GG14018@bogus> References: <20200429205825.10604-1-robh@kernel.org> <20200429205825.10604-11-robh@kernel.org> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <20200429205825.10604-11-robh@kernel.org> User-Agent: Mutt/1.9.4 (2018-02-28) X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20200501_095701_569389_4B3DE8A5 X-CRM114-Status: UNSURE ( 8.97 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Lorenzo Pieralisi , Arnd Bergmann , linux-pm@vger.kernel.org, Stephen Boyd , Catalin Marinas , Linus Walleij , Kevin Brodsky , Liviu Dudau , Sebastian Reichel , Sudeep Holla , Will Deacon , Greg Kroah-Hartman , Lee Jones , linux-clk@vger.kernel.org, linux-arm-kernel@lists.infradead.org Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+infradead-linux-arm-kernel=archiver.kernel.org@lists.infradead.org On Wed, Apr 29, 2020 at 03:58:19PM -0500, Rob Herring wrote: > Use the managed devm_gpiochip_add_data() and devm_mfd_add_devices() > instead of their unmanaged counterparts. With this, no .remove() hook is > needed for driver unbind. > > Cc: Liviu Dudau > Cc: Sudeep Holla Reviewed-by: Sudeep Holla -- Regards, Sudeep _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel