From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-3.9 required=3.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI, SIGNED_OFF_BY,SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED autolearn=no autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id EAE5BC5ACC5 for ; Wed, 19 Feb 2020 22:54:23 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id BE9892464E for ; Wed, 19 Feb 2020 22:54:23 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (1024-bit key) header.d=chromium.org header.i=@chromium.org header.b="mcRJHRAU" Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727163AbgBSWyX (ORCPT ); Wed, 19 Feb 2020 17:54:23 -0500 Received: from mail-pf1-f195.google.com ([209.85.210.195]:41412 "EHLO mail-pf1-f195.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727429AbgBSWyX (ORCPT ); Wed, 19 Feb 2020 17:54:23 -0500 Received: by mail-pf1-f195.google.com with SMTP id j9so830467pfa.8 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=NCd52xm8LZ7fWMx5u0eRd1BBk1xO1MntTfy7ptwFW921sShntO3bWZbvZU9icrQQh7 0Pm01X9gTdAJ8+XZsO9GCanvF5FHeBNZH+vF1CR6dfY//pl5MBMv509BDR+KAXyZ8BDO vWS+/OO1WLOMoBw8YfBoXtVdba4cX+0NmnDn+pym5aB7N/0TSth236eIl2qAeYmolrSh wZ13MUtMMocaQQqmqLy+RIce80XYLEIgW664k7A5y9pXSM44AwgJLpOaxXs9DmaEJSmT /BUL8/OSQG0j0MJlhviQHh8tafsye+IXZYGwsFN85yJe0GSVV7lJsqgQEq32YVCwA7s6 2VNQ== X-Gm-Message-State: APjAAAUFzOLtzbqFXdu031xwdoarqdoe6ITI0JRRG5dLvKBvpZ/Dujke HomVyaIPfXmm/4dLi7C9GE5xVg== X-Google-Smtp-Source: APXvYqy0na+w9G4V2yh+lLPkN/J5LnFRo7hiPZb/dJCUnAb3G8z7wJwi3PUKaITjavzd/cnOkD777w== 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-arm-msm-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-arm-msm@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