Received: by 2002:a05:6a10:16a7:0:0:0:0 with SMTP id gp39csp1209112pxb; Wed, 4 Nov 2020 02:59:59 -0800 (PST) X-Google-Smtp-Source: ABdhPJwSOTb4WIIYgSSpBH3nLfbUqnVPrvk8CUwm0vVJHPrQyY8eQRor8ap49Xwnuo4X9Dxq6SCb X-Received: by 2002:aa7:d709:: with SMTP id t9mr11795069edq.305.1604487599391; Wed, 04 Nov 2020 02:59:59 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1604487599; cv=none; d=google.com; s=arc-20160816; b=LN1HSRSzvYWerR7/P8OU1HI4O4iYMw7vT4eHFFcaFPzejQ173J9QkpkNs4+ANL2q7k J9m6JgxgPB4slzPhkPmtbcbWitFFXtE0fV+XXGQBQes+dcqrm6+HmkFKXI1kYIws21Pf fs7DHrNAcWpy6bZv0mL1MaDBGnrwg3yI5KxlIGaIGjPaSX/sZxsdI/BsQBzHbMz4yRSx pPGMxuxW6ONe5bKkrk1FzH1qpxzblK5bRHNAwpqBwDK8b5/3yEl3qUYdTf09+AEUy3ff 2UfyHd+Z6WwsObsCfMajjjLPdwgDjxvKYiuApANGZ9WzYQPecmnJBJtGYThofjh6yjaO 3KhA== 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=mAxpfkmWK7mTrDjujUo24hBISOqTOpXD97ns8sDmboQ=; b=Buzah6cnsBMxcsnJFPvRXj+WGL6h/WJGkJZNdQm1EtN6GsTTVmB/SJaB23q5BhqF9V 6jg8Z4Tn9wufay8uvpBuYOT97rP2wUm7h3BuRFRKUvxoahodJ/POTXBInoniE574/PK8 /FByiOoSB0P7QyVy7q8AKuukcx5tegKhD2WoNImegDr7n9PODPfWeGvWprL0CliFipKI x7OlOgpzBZfm0uTLA3/gPRwPSR7TEEPLTWj0nxiGd4GnvBUrN9J3UQYE5AChDy4clpkn Q6bhD+hVVOuG8fWcUiZr8wNZozTzWbkmDHsDZIQBy0BZIuo6Aa97hYAUG+3pu/vPFzzR f1GQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=lg8znmyu; 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 i14si1062684edl.282.2020.11.04.02.59.36; Wed, 04 Nov 2020 02:59:59 -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=lg8znmyu; 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 S1728922AbgKDK6V (ORCPT + 99 others); Wed, 4 Nov 2020 05:58:21 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:40170 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726344AbgKDK6U (ORCPT ); Wed, 4 Nov 2020 05:58:20 -0500 Received: from mail-wr1-x443.google.com (mail-wr1-x443.google.com [IPv6:2a00:1450:4864:20::443]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 21C5BC0613D3 for ; Wed, 4 Nov 2020 02:58:19 -0800 (PST) Received: by mail-wr1-x443.google.com with SMTP id b8so21573925wrn.0 for ; Wed, 04 Nov 2020 02:58:19 -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=mAxpfkmWK7mTrDjujUo24hBISOqTOpXD97ns8sDmboQ=; b=lg8znmyuN2O7BnstGmjleCOUa05z+WLRvSvhF+trmv2phSNyMAdxu7WePvU199TIuS T/TgK++WwTqWaegj9cTPUo/t8jDIae+N3HRsY2jfYaSAN3J4waWtYB0HDxpDnvgCWccW PT46vuDvgwrZhUkjdmzLRSEnsjLxgbtwQrotvi9eFw3SjWC+ax76cT5zSmPM7wmxXs6x 1xE77LiQ/fHoaYi+cuD2I2ydbnbkElEEhxVlWVm8aaYj9j6bF4163v0O2qGse7QazHEv 65JK3ZsSCvQessncWWuRdvQ9Y03+R2ZkpjddsIQ7fmEIXkdwGp3g2s/cTI9EWrs5tNwH mB7w== 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=mAxpfkmWK7mTrDjujUo24hBISOqTOpXD97ns8sDmboQ=; b=X+PZBDxLBDX9eTGZcy9/Nhw4t4pkVmjXS8kLp6uHtYmZp2AfrDZFT08Sk1JYUMlgTa MaovQyZEHlcPaqf8J4teJghuE76pXzzobH4s6fBADvfdWY4+k/jboM25rS/kEdje2oVq VAm+TYNifKeqDjMeQ5kGHysA1Zb5THKKIMC9yBYEyN8eKhJXHC1KGNe+jCSVdAWEfDIo aQOkJKMF9JrUaz7bAFyvTTEfRQJHlpKanckWmQoJNuqINufEYJ1BtFjCKefxURidhUAL VdNNHfvhJZjcE1zLJ+UnGH+9pQhN1HAQZH674s3nLsD5uZRGRaLFHkNtvd2hVwMr61UG m2Uw== X-Gm-Message-State: AOAM532Xqrc9fpCj/M9ySicYW9c1MX2VxBdVc2qVt49cHCf7HvMjl2kd XKm6IB0vKlLFO+LIEWGmet3XyNeEGyT4BRZm X-Received: by 2002:adf:c14c:: with SMTP id w12mr27224106wre.40.1604487497921; Wed, 04 Nov 2020 02:58:17 -0800 (PST) Received: from dell ([91.110.221.242]) by smtp.gmail.com with ESMTPSA id b7sm1902180wrp.16.2020.11.04.02.58.16 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 04 Nov 2020 02:58:17 -0800 (PST) Date: Wed, 4 Nov 2020 10:58:15 +0000 From: Lee Jones To: Rikard Falkeborn Cc: linux-kernel@vger.kernel.org, Milo Kim Subject: Re: [PATCH 5/8] mfd: lp8788: Constify static struct resource Message-ID: <20201104105815.GW4488@dell> References: <20200922192659.14535-1-rikard.falkeborn@gmail.com> <20200922192659.14535-6-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-6-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/lp8788.c | 4 ++-- > 1 file changed, 2 insertions(+), 2 deletions(-) Applied, thanks. -- Lee Jones [李琼斯] Senior Technical Lead - Developer Services Linaro.org │ Open source software for Arm SoCs Follow Linaro: Facebook | Twitter | Blog