From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from foss.arm.com (foss.arm.com [217.140.110.172]) by smtp.subspace.kernel.org (Postfix) with ESMTP id A9B942857F8; Fri, 6 Jun 2025 09:21:35 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=217.140.110.172 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1749201699; cv=none; b=n2JP8YQ94A+OMrk6qe8APVBvj77f9jETnBbI52fCvRDg0QOmvgZpyRC2tAqKdKuaA0auWWwSa0F629Q8RxaKmaJLzI2VP/C/QdtkkvY+RxWkOnoVaanTbJEwbSImaP9M4AQqpXkt1pgmlRsxVB2E0DyPThO0uBs3vuefQHFqOSw= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1749201699; c=relaxed/simple; bh=JNII4LjXiJAVTUR4XLq+TZLkG3dqk5KWt6XmBuCspDQ=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=BZvDf21LAr/A+d8t0zrXSVEeLtDyCTG6VwL5KHzGDnQs+sSOhc7pDgybXAhozXFnNG5fB+ZwXnVeNxLr8nMAL6M7r3a8tOBBVG+/2gM1958IScQ1QAgMnShN4qoG74VNykwfeaM+unSWbe6aHAySHDY/8wB6UHHL+QpxXjlkfjg= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=arm.com; spf=pass smtp.mailfrom=arm.com; arc=none smtp.client-ip=217.140.110.172 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=arm.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=arm.com 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 C2C94153B; Fri, 6 Jun 2025 02:21:16 -0700 (PDT) Received: from bogus (e133711.arm.com [10.1.196.55]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPSA id A85D33F59E; Fri, 6 Jun 2025 02:21:32 -0700 (PDT) Date: Fri, 6 Jun 2025 10:21:29 +0100 From: Sudeep Holla To: Lukas Bulwahn Cc: Cristian Marussi , Sudeep Holla , Ulf Hansson , arm-scmi@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-pm@vger.kernel.org, Javier Martinez Canillas , kernel-janitors@vger.kernel.org, linux-kernel@vger.kernel.org, Lukas Bulwahn Subject: Re: [PATCH] pmdomain: arm: scmi_pm_domain: remove code clutter Message-ID: <20250606-charming-aloof-adder-8acc6d@sudeepholla> References: <20250606090802.597504-1-lukas.bulwahn@redhat.com> Precedence: bulk X-Mailing-List: linux-pm@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20250606090802.597504-1-lukas.bulwahn@redhat.com> On Fri, Jun 06, 2025 at 11:08:02AM +0200, Lukas Bulwahn wrote: > From: Lukas Bulwahn > > There is no need to introduce the boolean power_on to select the constant > value for state. Simply pass the value for state as argument. Just remove > this code clutter. > > No functional change. > Nice cleanup. Thanks for doing this. Reviewed-by: Sudeep Holla Ulf, I assume you will pick this up when you start collecting patches for next merge window. -- Regards, Sudeep