Received: by 2002:a05:6a10:c604:0:0:0:0 with SMTP id y4csp4082405pxt; Tue, 10 Aug 2021 19:46:38 -0700 (PDT) X-Google-Smtp-Source: ABdhPJymdw/xh5LyrKmhzuB48PkLxSdq8YfzW2WgxaES3qOqNmJNsW04O5thX6Nx+He3LR1BUMAG X-Received: by 2002:a05:6402:d4f:: with SMTP id ec15mr6770044edb.353.1628649997995; Tue, 10 Aug 2021 19:46:37 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1628649997; cv=none; d=google.com; s=arc-20160816; b=X3gWE8OIxSPVg0L/eipF/qR8S6DpOKgTiJDXfPGN7MekGQWiP3GfY+cyZN0+sMLvtW YecZwIMlDCl+cO+Y+8QIsY1x5rjaV9JWU1dXR6KHJFOMUx9j62WqqsK1VUkiToZyFdem 1ufmoM6K7aqN+l8XE8Is8mR6GHHMNcsbbMHJgBz3rI6lf4kpQhWv63QSgB0iE+7BK9/2 xS8j8Rv1+nxV8GSdb/FGmy3nH+y775aw4GbL1Q0VoVao8hvX33k5C9wD9xYlrDjfWrvv +Lo4IutuMZmFIOxO+yy3geQlFl9MppvQr9+RVht0pq3WyFsYuJtNgMgxu3sNRpP6P8dz yMxA== 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=nlMYQD4HDhRX02I00cqWnalUyJH8xW0jnVNJZDVLGrE=; b=ZRIUhtqv/F75q0kebSTJl2GLF8ZWwB2OAuLUoYDv9928l3PGdm6xeTWetUGGPxeIYl jA2S7IL+sp/rwTV/VRv7Cvqo9VkJLkX0fwaqwvxszc9wyU1G9WpG78QKwr9OFuUpQHJJ dAyZLol/I0exX4CkG1fgeh6BswhprwW0ci/VUIzBEVyNyPsRFdnRssuWOgbCwO4TTXWl Yw4LVTpINWtesvJhdRVtxcw9mBOfa/3R6L4sGn++IA6SQuJuCea/wHQ4X6wA1mTMIMHp 93iDAXRm9tNzzHKoykPZLPmCM4iCNrR7hXOYpbD3A2Mahuxre8kUQ0LgZOvzRWpvXIlB NY8Q== 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 o24si11986756edr.546.2021.08.10.19.46.13; Tue, 10 Aug 2021 19:46:37 -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 S232295AbhHKCmn (ORCPT + 99 others); Tue, 10 Aug 2021 22:42:43 -0400 Received: from foss.arm.com ([217.140.110.172]:40460 "EHLO foss.arm.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232142AbhHKCmm (ORCPT ); Tue, 10 Aug 2021 22:42:42 -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 67A4B6D; Tue, 10 Aug 2021 19:42:19 -0700 (PDT) Received: from bogus (unknown [10.57.12.241]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPSA id AF9FA3F40C; Tue, 10 Aug 2021 19:42:15 -0700 (PDT) Date: Wed, 11 Aug 2021 03:40:47 +0100 From: Sudeep Holla To: Viresh Kumar Cc: Rafael Wysocki , Vincent Donnefort , lukasz.luba@arm.com, Cristian Marussi , linux-pm@vger.kernel.org, Sudeep Holla , Vincent Guittot , linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH 7/8] cpufreq: scpi: Use auto-registration for energy model Message-ID: <20210811024047.4vq2da52dpegaho5@bogus> References: <7809d747fecbaad46699a178f26288a015055b20.1628579170.git.viresh.kumar@linaro.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <7809d747fecbaad46699a178f26288a015055b20.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:54PM +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