Received: by 2002:a05:6a10:16a7:0:0:0:0 with SMTP id gp39csp1207996pxb; Wed, 4 Nov 2020 02:57:50 -0800 (PST) X-Google-Smtp-Source: ABdhPJxAEdpHK68/UTvEM8Er5w2E/nrjbf4UXiKbg+Ds7NJh+0U3PRkPUfDDRXVVSZdvIampqFPP X-Received: by 2002:a17:906:13d6:: with SMTP id g22mr16310152ejc.240.1604487470037; Wed, 04 Nov 2020 02:57:50 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1604487470; cv=none; d=google.com; s=arc-20160816; b=TrfWQG2AYDABT33nr4gLb9T+x4w0PJm4OCoprZdD59sD2H5YQqEuM5JnkPg73AB5vs 24rzETLrEw7bMxZKBEG9snyxVCA0Q0zgu93jvXbm5zs9D1ZXZBspwijxqjAaudc1xhyv KjfOT5LlXfFm6DW1qOq8sfPUP4FqQs+3NrfZrRB7bnLGxnEUSaduK+zU0urBmCPBKCMd FgPdUyPJ5i1YCer/s47IXa3ejFdwCcOPiTfMlbhsOlfXnLIisLefbmYvR+cJ4iqJD8OT g250k+rK8my4tHIofk2c1lJr+0pqIiRL781Uh/MHu7U1bHtPAAJTijajxcJrmUbLiwoH 8Shw== 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=qPvtX7XpSWWgEgEliDS1hLnbS4qGlILd8aEjgIJY7qA=; b=RYsB635VzLW+ccYTnw4LtCNbhGhI/G93UIR92x165gjhWLyWLyhyTvByqPom0ai3VK nihQvrHZV2+3tkYfzj9FzE1FyoKO8wAdtS9zGMXTOGVOBFtAkjfeE166i8vEm6FYBsst Uz06Q9BnBoIvst2xkT1eO4vyGQ6zbkuJhiPWxk2d6SM2Uxiy8ENkMiBOHLIbvX2QeyZR Kzi4secrfZD0evuBrunlsBUlK1FyMwhRbdkGfT0kQ8AGwWnqnIiUnF4vSI5JRSD7hryJ HL6oGELCXbsMJQRP9sJXbnYb9yX1ZTI9bY/ydrFqZaru8AD+f+ns8gI+ViIZXmCZh/Rv ACsA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=Nx1hpFcz; 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 g19si1048704edy.65.2020.11.04.02.57.27; Wed, 04 Nov 2020 02:57:50 -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=Nx1hpFcz; 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 S1728607AbgKDK4H (ORCPT + 99 others); Wed, 4 Nov 2020 05:56:07 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:39814 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727001AbgKDK4H (ORCPT ); Wed, 4 Nov 2020 05:56:07 -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 F1A2EC0613D3 for ; Wed, 4 Nov 2020 02:56:06 -0800 (PST) Received: by mail-wr1-x442.google.com with SMTP id w14so21505371wrs.9 for ; Wed, 04 Nov 2020 02:56:06 -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=qPvtX7XpSWWgEgEliDS1hLnbS4qGlILd8aEjgIJY7qA=; b=Nx1hpFczL4eb0NS83zX0G2pFPgFpJAc1ejgmynOCDe3qic8LdzZCTyIMBc3hijwHq9 /GDe50We1+cNa90oXkvsxKRKQI8tbSgNEU8TOLZDC/1QQqKk9JaF/yUpVq8CAbqt+ne7 G5dQpCEd5UVFoSER9Ms7GAAzU4huyaSOI/EKx2G2WWOk7KQ2Euc6BKvJ4DRvMjOTp0nb MCHEX11Hs3hdBF8cQPY7yLMSBPvQfvVQiDZcdjEmDOgtDJ+M5uiORqUFf0HJkbdKX5hR HxSIAkHokb3Db3cDIXC9VbypK2g8Hj7QsydWzW3yHaf3AaOXBFNxDROba1MSo+4aGsP4 O/pg== 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=qPvtX7XpSWWgEgEliDS1hLnbS4qGlILd8aEjgIJY7qA=; b=qQIOf5losAZKzIDLvsvyHGQ/PwFt8UYtWT5wTU6URuD2UiCemESoaea2zE+ItKdsKP FFbLpVG6vonhl54YsM8+m1oalzWTZBYmoY+yo1V1M3IbgR+1sMbOrCWnv8XROT99nKkP szcD0eBb1l7mX6Ma9uGqw/lBpLKmYaJxVFLRRN1tmbaS0svbj4e9LPxpmbgD2xVMY51d iAd/7E4SshAV0MhzR/qrSZSI0U+Zf7EiEmoXoV3mK8GR/ayqCDbnW1YtLD50VINZXgVw PX1NxgyPsslxaI/7kXoDBWhFrq5fxySYYjnnpZzr/s8wEUSfzuRYGyWVSnwG84tLTgWY VjWA== X-Gm-Message-State: AOAM532+o2/beHkMPiWlNQF47OTH5Wb/xYjzQqrtgq/pbLayVwCUHs2y oP2TAGVlFkNGw0ZM/vhDYVFPGQ== X-Received: by 2002:a05:6000:142:: with SMTP id r2mr25586236wrx.155.1604487365750; Wed, 04 Nov 2020 02:56:05 -0800 (PST) Received: from dell ([91.110.221.242]) by smtp.gmail.com with ESMTPSA id c185sm1688915wma.44.2020.11.04.02.56.04 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 04 Nov 2020 02:56:05 -0800 (PST) Date: Wed, 4 Nov 2020 10:56:03 +0000 From: Lee Jones To: Rikard Falkeborn Cc: linux-kernel@vger.kernel.org, support.opensource@diasemi.com Subject: Re: [PATCH 1/8] mfd: da: Constify static struct resource Message-ID: <20201104105603.GS4488@dell> References: <20200922192659.14535-1-rikard.falkeborn@gmail.com> <20200922192659.14535-2-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-2-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 number of static struct resource. The only usage of the > structs are 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/da9055-core.c | 8 ++++---- > drivers/mfd/da9062-core.c | 24 ++++++++++++------------ > drivers/mfd/da9063-core.c | 8 ++++---- > drivers/mfd/da9150-core.c | 6 +++--- > 4 files changed, 23 insertions(+), 23 deletions(-) Applied, thanks. -- Lee Jones [李琼斯] Senior Technical Lead - Developer Services Linaro.org │ Open source software for Arm SoCs Follow Linaro: Facebook | Twitter | Blog