From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail-wm1-f53.google.com (mail-wm1-f53.google.com [209.85.128.53]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id ABA353BB36 for ; Tue, 9 Jan 2024 17:29:34 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linaro.org Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=linaro.org Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="Ni0O8CQJ" Received: by mail-wm1-f53.google.com with SMTP id 5b1f17b1804b1-40e4d778e5eso12035615e9.1 for ; Tue, 09 Jan 2024 09:29:34 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1704821373; x=1705426173; darn=vger.kernel.org; h=content-transfer-encoding:in-reply-to:from:references:cc:to :content-language:subject:user-agent:mime-version:date:message-id :from:to:cc:subject:date:message-id:reply-to; bh=wnku5e/u/gHYRgoR0rSRyIOibtasAzsOAPYEKYrhoG8=; b=Ni0O8CQJBsmnvdjz3ETvlBnV6E/cncNHjXqUwQqV2y890eigsWjNzQDUgK2VpFaiqB oIP6zLw+/jbcthE1GTzon/wxAl56Hn0zVQIEkHTmV3kip8RWCKmSRJo1h1/ljgpOI98W eqk2xFK+6SggognUEKA4JXQz89EBRYMLFhSuZ2qu5mer1xpKXITQsTAOm+Hw+crPgtcD hb7Pu9iBf2GDqjt+Xc9fNlCS1ewka8XJkaOuuOJeGyLhQCl//dpRr2/3s0uQ5c2XB6P/ /NvA039Qee6ZlJM1RPw/fZzBfCBaJqmCiFXJEcUivO/wCYFKjj364XfMlVdYqIs7Eysq Ykyg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1704821373; x=1705426173; h=content-transfer-encoding:in-reply-to:from:references:cc:to :content-language:subject:user-agent:mime-version:date:message-id :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=wnku5e/u/gHYRgoR0rSRyIOibtasAzsOAPYEKYrhoG8=; b=atzznodU4hwvMXwfHoeVpROIfEXm+a86R8iKsZ2afGYs8Aw/qHFYT00z5C6dBeNlNo 8wnwkTdv+q5OM01TnnIRqX2d2n7n42nuoLScPidAB0LD8UAJwsa+UXE50mJFwn+d9m/D I3dC1kkaD9j7DtlQD+26RB3YkzZ7PWHRtKxoXJ1Fz1SXri7QaWKQSWFprewiVnQROrrC YjKYstHItwLn+nz8z3yznhpcBvdooiid5di5+IEodeSYf4f0Sn42hg2/cV+W5s+LD+ih 8w3v7d9HoGaCf9mVM/Y+DM4N9jx1svMKjxf3wG+fWl4Ci+rlDQRj/kgRWdkWaZbDxnBD 4CFg== X-Gm-Message-State: AOJu0YwDF1NAJS79JXe1dTzdps9XUU+O7dyJKsOsPprEW9nxZlIeNtuu Th3jyvwjZNnHHIakDS3WrD7RBrsv/+XfhA== X-Google-Smtp-Source: AGHT+IG/V4UimHzCxAzo6BEJ6VWy/cLJ9CLD4rbjCi/sELyShdt5NHYsGZRCMiDno7rLTgsk+jzu5A== X-Received: by 2002:a05:600c:3b8d:b0:40e:4704:5698 with SMTP id n13-20020a05600c3b8d00b0040e47045698mr1812380wms.83.1704821372794; Tue, 09 Jan 2024 09:29:32 -0800 (PST) Received: from [192.168.10.46] (146725694.box.freepro.com. [130.180.211.218]) by smtp.googlemail.com with ESMTPSA id df8-20020a5d5b88000000b003376d4248a9sm2908868wrb.71.2024.01.09.09.29.32 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Tue, 09 Jan 2024 09:29:32 -0800 (PST) Message-ID: <0e90dee3-6247-439f-a70d-becf2531c930@linaro.org> Date: Tue, 9 Jan 2024 18:29:32 +0100 Precedence: bulk X-Mailing-List: linux-pm@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH v1 2/2] thermal: helpers: Rearrange thermal_cdev_set_cur_state() Content-Language: en-US To: "Rafael J. Wysocki" , Linux PM Cc: Srinivas Pandruvada , Zhang Rui , LKML , Lukasz Luba References: <2193991.irdbgypaU6@kreacher> <8343955.T7Z3S40VBb@kreacher> From: Daniel Lezcano In-Reply-To: <8343955.T7Z3S40VBb@kreacher> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit On 09/01/2024 17:42, Rafael J. Wysocki wrote: > From: Rafael J. Wysocki > > Change the code layout in thermal_cdev_set_cur_state() so it returns > early on errors which is more consistent with what happens elsewhere. > > No intentional functional impact. > > Signed-off-by: Rafael J. Wysocki Reviewed-by: Daniel Lezcano -- Linaro.org │ Open source software for ARM SoCs Follow Linaro: Facebook | Twitter | Blog