[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20200708111617.GF34333@vkoul-mobl>
Date: Wed, 8 Jul 2020 16:46:17 +0530
From: Vinod Koul <vkoul@...nel.org>
To: Rikard Falkeborn <rikard.falkeborn@...il.com>
Cc: mripard@...nel.org, wens@...e.org, kishon@...com,
linux-kernel@...r.kernel.org, linux-arm-kernel@...ts.infradead.org
Subject: Re: [PATCH] phy: allwinner: phy-sun6i-mipi-dphy: Constify structs
On 29-06-20, 21:57, Rikard Falkeborn wrote:
> sun6i_dphy_ops and sun6i_dphy_regmap_config are not modified so make them
> const structs to allow the compiler to put them in read-only memory.
>
> Before:
> text data bss dec hex filename
> 4407 1944 64 6415 190f drivers/phy/allwinner/phy-sun6i-mipi-dphy.o
>
> After:
> text data bss dec hex filename
> 4835 1496 64 6395 18fb drivers/phy/allwinner/phy-sun6i-mipi-dphy.o
Applied, thanks
--
~Vinod
Powered by blists - more mailing lists