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=-6.8 required=3.0 tests=BAYES_00,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 0AE9DC388F7 for ; Wed, 4 Nov 2020 10:57:15 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 95D002242A for ; Wed, 4 Nov 2020 10:57:14 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="CwB6ru04" Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1729651AbgKDK5N (ORCPT ); Wed, 4 Nov 2020 05:57:13 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:39998 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1729471AbgKDK5N (ORCPT ); Wed, 4 Nov 2020 05:57:13 -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 DB1BFC0613D3 for ; Wed, 4 Nov 2020 02:57:12 -0800 (PST) Received: by mail-wr1-x442.google.com with SMTP id x7so21562803wrl.3 for ; Wed, 04 Nov 2020 02:57:12 -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=NHw1cL4nU7m7k6IJhEyTVXOIiu4amLxGv+sgKD7ffvU=; b=CwB6ru04l9JRFWNgT7ToGncpo+HNGbYihFz4YCsmWH8ZwCWAtGvmQKZl0UYZI84HCV j9eKPJKKn3okZCfrTyC8Ea0YzVRCaEXfDZGSUDTlSJ9yTeyHK2IR7DZ0unfFMlhQoMZl BPuqTHkol7UHJdsz7iA/IsK/y5dyYtC99oBHQNyoDmOHIsA0RxAECXAh6p+qn4gyxyiC 1NpYft9wA8sPh2TgtatNGWT77Ia/DRTznLI8gcLCVYClT83vJoOYcOSTAgtzE8/GK3eX mi+E1cE4hJ6uCLzVasUqcu691dq0hCfOMAk9pUx5nOxpBuqp9fPV2EStTVop4C2bpaWV eAQw== 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=NHw1cL4nU7m7k6IJhEyTVXOIiu4amLxGv+sgKD7ffvU=; b=Q9G4Nfx4yh/9dUw2yG6pWGXMpYk0K3HUkgFfHUhOOpFprMSJnOoXMrRClF0YPGNwZh aQjqXY2IN+q7Yysep2vLZq06gogBFWDtcOAeLKMskGaW9NnS2/9/D2mzoo+zKDcLLNb2 1uFzx7lIbik1tX6QvmZrSL6aSs8cDnDi6e18FRXdDczpUD30sVODowpdzUFim6e7z24l S2Bj4TrwA0BVgMBwTGVYR4AP44fm4lbX1FgalQQThJuuBerpHWoDPagiczI5kBUmUZ08 mImqPctqZdEcXL2l7YG1Vk6HQX9qGmT8G4XC8p2OaVGaUqBEh2cgFWBT6hrZpEebmJVb eARg== X-Gm-Message-State: AOAM532CTfXLbIG4JHh+7VYhq0ZkgCtbUuxniHoRowhKmN4Xw2DjF6sz hF5p/M2Ao0B3qLJ6q92iFLnkxg== X-Google-Smtp-Source: ABdhPJw23+JmyqjHPIV3g1ngwlnPWgLkMEJtWfbcElDUL27lujHhGNbYDl5WsL2Jm/ZLLoRN/akwfg== X-Received: by 2002:a5d:4f0b:: with SMTP id c11mr31202434wru.316.1604487431684; Wed, 04 Nov 2020 02:57:11 -0800 (PST) Received: from dell ([91.110.221.242]) by smtp.gmail.com with ESMTPSA id r3sm2037419wrm.51.2020.11.04.02.57.10 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 04 Nov 2020 02:57:11 -0800 (PST) Date: Wed, 4 Nov 2020 10:57:09 +0000 From: Lee Jones To: Rikard Falkeborn Cc: linux-kernel@vger.kernel.org, Tony Lindgren , linux-omap@vger.kernel.org Subject: Re: [PATCH 3/8] mfd: Constify static struct resource in OMAP2+ drivers Message-ID: <20201104105709.GU4488@dell> References: <20200922192659.14535-1-rikard.falkeborn@gmail.com> <20200922192659.14535-4-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-4-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/tps65217.c | 4 ++-- > drivers/mfd/tps65910.c | 2 +- > 2 files changed, 3 insertions(+), 3 deletions(-) Applied, thanks. -- Lee Jones [李琼斯] Senior Technical Lead - Developer Services Linaro.org │ Open source software for Arm SoCs Follow Linaro: Facebook | Twitter | Blog