Received: by 2002:a05:6a10:16a7:0:0:0:0 with SMTP id gp39csp1209447pxb; Wed, 4 Nov 2020 03:00:35 -0800 (PST) X-Google-Smtp-Source: ABdhPJx8GLC81cUB/0ZBeJSgh1ojpWb/3FImpXi1PFrOwQFcIy4PVelsJvxQNMh48FNOF8Wd8suX X-Received: by 2002:a05:6402:54c:: with SMTP id i12mr2999965edx.9.1604487635363; Wed, 04 Nov 2020 03:00:35 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1604487635; cv=none; d=google.com; s=arc-20160816; b=uoVbZKulHMQhY7AwRUCqOUSDWpSxRp3zKTA5ahRfapQ/FpnXCssmWzT12REleZT7Mt NeGewsAt4tKM8RXvAifFhj+tyYBYwAwVIQkT1/HOtYljnXotHaVels+nTs4FPQfmVdtx sluTcUG0ZGIxtmRsG1WuSrYaRfGbLYVWUrzliIsYix7SjSxYH1rAR93/gvsg/C7sTcO2 7BiPohwC8EB1l0VTG1m8qeX8gpVXQcI6PV/kuuU4ePMFi5zuMsBK13HjS+9umMs7rH7i sFZhzIi9Q0gGBGm9mdl9+sU/hIBDYrG/1A63yZdYJKa4IddTbLXLNSa7W0wm4PT81yU+ wKCw== 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-transfer-encoding :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:dkim-signature; bh=K5kGjJgq41cgHa9mbHu2qDDUb9+DTH+gsEgTKKnHypw=; b=eby07TqsKBc5tYYqMWVNx1T5htcYFWdgeL+BKKcrRoYCfeO4rcB8otM2LE0SNwmdm8 cwwugjRcd4rVbRpc0hAWHgqTARPnmMlcgDD6S5VKApwc8LOATm4o/BwbtoHZke78SabN EcF1PtGkVAPMzCa2Y6P+IYC0AsK4AFKRlvV2lqYsNFyQJUxaB8d37TsceXSHabUZMyVE GNAICfuCtpEU9DwThW2V3riPLRhKDvr1f3PuXrJSJr5TLjkSSDwRpb9TifwpsNXqBvJ0 C9umZkbNYF0RvlPVRW5ZlXQx6knfzEArp7QEo1wOG78pfcbmGfCa3hB2VudJiONc5aaN b5Yg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=Qr+Q22nH; 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=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id e21si1055348eds.259.2020.11.04.03.00.12; Wed, 04 Nov 2020 03:00:35 -0800 (PST) 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; dkim=pass header.i=@linaro.org header.s=google header.b=Qr+Q22nH; 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=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1729605AbgKDK6q (ORCPT + 99 others); Wed, 4 Nov 2020 05:58:46 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:40232 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726344AbgKDK6n (ORCPT ); Wed, 4 Nov 2020 05:58:43 -0500 Received: from mail-wr1-x442.google.com (mail-wr1-x442.google.com [IPv6:2a00:1450:4864:20::442]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 57065C0613D3 for ; Wed, 4 Nov 2020 02:58:43 -0800 (PST) Received: by mail-wr1-x442.google.com with SMTP id n18so21537154wrs.5 for ; Wed, 04 Nov 2020 02:58:43 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:content-transfer-encoding:in-reply-to; bh=K5kGjJgq41cgHa9mbHu2qDDUb9+DTH+gsEgTKKnHypw=; b=Qr+Q22nHH7dfWUg8Ym0TTd+J5aX5LwDo85DMggbJQ8boP9NBrHWI0wmNyeaTBGNkrA FH6a2QfkjaZZqOz6TqXAd0QRR6M9J5kHyxSmzlu60xzrVvL1XQcaIT9+9nXej9psdiNq lvBShMrmbRMBzOfZ40tFuRXOBLhQMj0QTSa+Mdsl+0XbeKQEwWX+07YAbiwmL9HPoaNG vzX4YNtxeROvfOr3DZOFm5uqQ9sfkXB/aGovNXDx36vkS7aguMv5HrBluhhn5Ph+K9cG Cax9A/0U4UaztgRpoRQf2WAtPVuw7THTWPYNTh1/fFZ128xPrH4kXGwisbD6OhV7cvW5 aqUQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:content-transfer-encoding :in-reply-to; bh=K5kGjJgq41cgHa9mbHu2qDDUb9+DTH+gsEgTKKnHypw=; b=rL9aEULINCbqWFcO958WhCSrVGTKsPJK5cuVJp53QbhaM8VxATBDU2TS/tjZU/GT8Q meG0Cx8hc+gnMDsY+rY2UFUTX//sHDUjOtxnBeEMPa/+vKHbI+3kIATySb+ccNEKJXSX HSmXtutksos8uFO2jdUXJKqjtmTATxJhZkoIoq6BxHge8z9sRUsf5dpmroff/JDPMNnu HFxC1cPR4ZuQMQ8x08P2L69EwKp5lWxAkOpypMM8a4N6TZDWFLx9ehlIpKy7ZlNPsQ8B hq5oX1WStrXEQ7ZlC7GTPhkMz833rEtidneFoinPMX9hrjF1wrNTu8D2LHBQkjP6EKN+ LhMQ== X-Gm-Message-State: AOAM533oLeVvgGCyLL6gh2X67j7SDo7hmC96m+TYOtWSjpOGvF53ZLNQ lyRiCqat6YfkXuA3QWoVyKqDbw== X-Received: by 2002:adf:84a5:: with SMTP id 34mr31107584wrg.8.1604487522128; Wed, 04 Nov 2020 02:58:42 -0800 (PST) Received: from dell ([91.110.221.242]) by smtp.gmail.com with ESMTPSA id o3sm1877894wru.15.2020.11.04.02.58.41 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 04 Nov 2020 02:58:41 -0800 (PST) Date: Wed, 4 Nov 2020 10:58:39 +0000 From: Lee Jones To: Rikard Falkeborn Cc: linux-kernel@vger.kernel.org, Maxime Coquelin , Alexandre Torgue , linux-stm32@st-md-mailman.stormreply.com, linux-arm-kernel@lists.infradead.org Subject: Re: [PATCH 6/8] mfd: stmpe: Constify static struct resource Message-ID: <20201104105839.GX4488@dell> References: <20200922192659.14535-1-rikard.falkeborn@gmail.com> <20200922192659.14535-7-rikard.falkeborn@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <20200922192659.14535-7-rikard.falkeborn@gmail.com> Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, 22 Sep 2020, Rikard Falkeborn wrote: > Constify a couple of static struct resource. The only usage of the > structs is to assign their address to the resources field in the > mfd_cell struct. This allows the compiler to put them in read-only > memory. Done with the help of Coccinelle. > > Signed-off-by: Rikard Falkeborn > --- > drivers/mfd/stmpe.c | 10 +++++----- > 1 file changed, 5 insertions(+), 5 deletions(-) Applied, thanks. -- Lee Jones [李琼斯] Senior Technical Lead - Developer Services Linaro.org │ Open source software for Arm SoCs Follow Linaro: Facebook | Twitter | Blog