Received: by 2002:a05:6a10:c604:0:0:0:0 with SMTP id y4csp4081035pxt; Tue, 10 Aug 2021 19:44:11 -0700 (PDT) X-Google-Smtp-Source: ABdhPJziKQJwesMH/MWAB3nPStCfHzIQTZrgO6NcHJtXNwg8RuDSbqh0KEAO2FzN8NRtohFIFFZ1 X-Received: by 2002:a17:906:781:: with SMTP id l1mr1434081ejc.289.1628649851694; Tue, 10 Aug 2021 19:44:11 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1628649851; cv=none; d=google.com; s=arc-20160816; b=sFGxP8ZxnUslfdGk/HIeKbSs8G8rPCFD5mP71GIUgqxtQTmFEXa0QPlop+XKsgdbPD 3xRVbnF5BiLD+yOfrnJtu/Q6/B+SqTLZ3kJxf+F2oLUkfesPojJmNqSdJ3nU5OLMLOtl jecZDeKS0A+aEOcc4hYaDjw9YXhys8Fw1ARlpM3EfwsiIXXRQ3CkhrKOETQU2umIptXm le70uhPmWea8d7xvbnsZkUElG7Id+sfryRLs/OLnjMobBs0PORWa56HuVf+uWYEHK7/4 9NPcisyvnRFnPTQaZ6xOAe1ZznErIq94XO32l95pgqR8balbwKSZBrv+TukNUh7dRQnH dlJg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date; bh=KFbHLDduKe3Lb6n6azXthYGDjhYWzETR2PL7lDTbr0A=; b=igflTY8gRKlyHBwkU2gcrdo8dll13eLWYEkdXGCnwQi1Jihqnf9Ec4Zs2jnHN8TOQF b8D0wPWJ6ycFhu2W/3yusevxK662guFwP4Zxo1MJjLnuHO0UhagMVT1pFdB122eZsr1f 9dhrjfNrimtPQIBzQoU6HhI95f6w0tb0OD3CZFkuQloJpWtNX+/8jPAe6PnZFfo6RqTI GwMsw7DGZf98Kskd3ffS9E4ThEbt93LwxEuBHxZ0O704XT0SXTuHyeV+16RT+NhCXEYT bTnStfZsZa+eqdHjuH/5ERGL9GBTFH7/T7k5TyJbsd3tfwq9hsZv8ANxkwpeZRHKJBcf Hmng== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=arm.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id z5si22655153eja.692.2021.08.10.19.43.44; Tue, 10 Aug 2021 19:44:11 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=arm.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232184AbhHKCmD (ORCPT + 99 others); Tue, 10 Aug 2021 22:42:03 -0400 Received: from foss.arm.com ([217.140.110.172]:40442 "EHLO foss.arm.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232212AbhHKCl4 (ORCPT ); Tue, 10 Aug 2021 22:41:56 -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 B301C6D; Tue, 10 Aug 2021 19:41:32 -0700 (PDT) Received: from bogus (unknown [10.57.12.241]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPSA id 6008A3F40C; Tue, 10 Aug 2021 19:41:29 -0700 (PDT) Date: Wed, 11 Aug 2021 03:40:01 +0100 From: Sudeep Holla To: Viresh Kumar Cc: Rafael Wysocki , Vincent Donnefort , lukasz.luba@arm.com, linux-pm@vger.kernel.org, Sudeep Holla , Vincent Guittot , linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org Subject: Re: [PATCH 8/8] cpufreq: vexpress: Use auto-registration for energy model Message-ID: <20210811024001.arrak7lk7eyuwcld@bogus> References: <87fecd84e3f6ff6f153be14b0d53de93c0b04ae6.1628579170.git.viresh.kumar@linaro.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <87fecd84e3f6ff6f153be14b0d53de93c0b04ae6.1628579170.git.viresh.kumar@linaro.org> Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, Aug 10, 2021 at 01:06:55PM +0530, Viresh Kumar wrote: > Use the CPUFREQ_REGISTER_WITH_EM flag to allow cpufreq core to > automatically register with the energy model. > > This allows removal of boiler plate code from the driver and fixes the > unregistration part as well. > Acked-by: Sudeep Holla -- Regards, Sudeep