Received: by 2002:a25:1506:0:0:0:0:0 with SMTP id 6csp1048067ybv; Wed, 19 Feb 2020 14:54:57 -0800 (PST) X-Google-Smtp-Source: APXvYqxShGTdMsey1Ml7pql04gWHUINC9w2HYTNf5osRk/KFwSRXdS8dgl2fYVN6QKpM5mw6g+Rf X-Received: by 2002:a9d:6548:: with SMTP id q8mr19375156otl.356.1582152897056; Wed, 19 Feb 2020 14:54:57 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1582152897; cv=none; d=google.com; s=arc-20160816; b=d9F4b1VfhWOwcLPnpmLdSsW/Aojn5K8FtKe3ANjXyFfk/bJsJVBTUudm3IbwDyacna 5d5EDkqHSB0WZ38dbt4ZbUd+qMgu8GgurGQfVZYlz1QQdx8SaFUfVyrxTKt+F2GvG7ap U/ZFnyWmhsDX7AXy8UowX+fV5+cgfZUWi72AoauEvbrgzzSsOgwfRVR818PdU2vJ7QlX SFZtRnW0cET8wOAOJSJF7xWjA4ZeSYUzWntvUFrHiPPDTKFjcQOBy70rqVu5gtsecw08 +iV9QcwXQRgipIMze9Pq8fv/bxuB7h8zt78hPGJidB79Gdq4qI4kPEneTudr5tAM/MnG ctNQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:message-id:date:to:cc:from :subject:references:in-reply-to:content-transfer-encoding :mime-version:dkim-signature; bh=eUDORF+FxRcIo6PLdteE5uxC09DOff5/FLLpV2ERyqs=; b=Nou3FqP6oiT3AaeVlW2udamFBZmpZHtGd7YjJWcgYJ6CYRbiuxbGUQTicko111imzs sj9g67g4L41oWRZ2++2hz7hlW0jaPlE8sOKPb4TC3k1BY8fC4OCGbU/XvX42dieuQcXo bv34uFEYgwrUtqGzzCGq39rg/9NALKgYn0wANbny9n6bgNYWT3WhfXXW3tNhy8mnw/lz Ok92yhk+Ecxzsvh8VA+vkfXsUa5YmsIoC4l9NptAogLMbP2aWuab4qPEMyWD3LVX+Qz8 1Kihr2faQwea+2R1B9BPB2CZbtiK+898xjwC3eNBH2PtLLDlNB4I+RcN0GpYaFm0ySI8 APjw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@chromium.org header.s=google header.b=mcRJHRAU; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=chromium.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id z199si9492066oia.192.2020.02.19.14.54.45; Wed, 19 Feb 2020 14:54:57 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@chromium.org header.s=google header.b=mcRJHRAU; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=chromium.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727901AbgBSWy1 (ORCPT + 99 others); Wed, 19 Feb 2020 17:54:27 -0500 Received: from mail-pg1-f195.google.com ([209.85.215.195]:44799 "EHLO mail-pg1-f195.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727429AbgBSWy0 (ORCPT ); Wed, 19 Feb 2020 17:54:26 -0500 Received: by mail-pg1-f195.google.com with SMTP id g3so846263pgs.11 for ; Wed, 19 Feb 2020 14:54:22 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=chromium.org; s=google; h=mime-version:content-transfer-encoding:in-reply-to:references :subject:from:cc:to:date:message-id:user-agent; bh=eUDORF+FxRcIo6PLdteE5uxC09DOff5/FLLpV2ERyqs=; b=mcRJHRAUFj8uZ99AFRUEeGXF/+XT2mLS9m5s88pd/SJOaXb56gVhfIZ/gofaiM3gnh cXL9kN4wEF0mOvwU+bmCP5oxVyoWJ71go5xEUfE6ctxUKq5QuPrGUGPbAHI7LRfKQA7+ asuEGI67vKG7AepBEuz7c/lGS6ZuLpv2biSU0= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:content-transfer-encoding :in-reply-to:references:subject:from:cc:to:date:message-id :user-agent; bh=eUDORF+FxRcIo6PLdteE5uxC09DOff5/FLLpV2ERyqs=; b=rKWDwm3ktuOgUXkrnsiGVJmMVM5CfAjTKRY3ohGo0HLNcKHRRuY4DsLMtU6jmdEJQD D/ceCOh6PSwsRNgmNFxT4cWfantoscjjP+AaXzUznLj80HvlydTOZkV5nZosvjIxYbaq MCQH1dI001/T4+gY0f/5zT3NPczskf+5tmvTXMv2rhXngePwaHkR+viNXHXT2Z/0Oiw3 ifKXFJ07WYXwAk2hAHdLJhGxSzWLG0hEp8lHyktxxZZSeVJeILv6uV8ouPp256Hmit9+ 4gQqEWi4I9/U8FddsuF4NJQ33O49D+YSdN7Ap+PvYQf8FXlysl/3zYsMjkQhe4q6n/bl q+UA== X-Gm-Message-State: APjAAAUDJD9y03DBDEJeb95jEUNmUu7VjOsgDggAuKcHq6rUA0F8xFqk MPb0kZ7JSnRArNDGhltD8hMccw== X-Received: by 2002:aa7:8610:: with SMTP id p16mr29491721pfn.28.1582152862298; Wed, 19 Feb 2020 14:54:22 -0800 (PST) Received: from chromium.org ([2620:15c:202:1:fa53:7765:582b:82b9]) by smtp.gmail.com with ESMTPSA id y24sm744163pge.72.2020.02.19.14.54.21 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 19 Feb 2020 14:54:21 -0800 (PST) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable In-Reply-To: <8dea9b377998de1617dd14aee90c421297262c5c.1582048155.git.amit.kucheria@linaro.org> References: <8dea9b377998de1617dd14aee90c421297262c5c.1582048155.git.amit.kucheria@linaro.org> Subject: Re: [PATCH v5 1/8] drivers: thermal: tsens: De-constify struct tsens_features From: Stephen Boyd Cc: Amit Kucheria , linux-pm@vger.kernel.org To: Amit Kucheria , Andy Gross , bjorn.andersson@linaro.org, daniel.lezcano@linaro.org, linux-arm-msm@vger.kernel.org, linux-kernel@vger.kernel.org, sivaa@codeaurora.org Date: Wed, 19 Feb 2020 14:54:21 -0800 Message-ID: <158215286106.184098.326019673452132786@swboyd.mtv.corp.google.com> User-Agent: alot/0.9 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Quoting Amit Kucheria (2020-02-18 10:12:05) > struct tsens_features is currently initialized as part of platform data > at compile-time and not modifiable. We now have some usecases in feature > detection across IP versions where it is more flexible to update the > features after probing registers. >=20 > Remove const qualifier from tsens_features and the encapsulating > tsens_plat_data. >=20 > Signed-off-by: Amit Kucheria > --- Reviewed-by: Stephen Boyd