[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20200630073040.t7mrd4jwldfgqov5@gilmour.lan>
Date:   Tue, 30 Jun 2020 09:30:40 +0200
From:   Maxime Ripard <maxime@...no.tech>
To:     Rikard Falkeborn <rikard.falkeborn@...il.com>
Cc:     wens@...e.org, kishon@...com, vkoul@...nel.org,
        linux-kernel@...r.kernel.org, linux-arm-kernel@...ts.infradead.org
Subject: Re: [PATCH] phy: allwinner: phy-sun6i-mipi-dphy: Constify structs
On Mon, Jun 29, 2020 at 09:57:27PM +0200, 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
> 
> Signed-off-by: Rikard Falkeborn <rikard.falkeborn@...il.com>
Acked-by: Maxime Ripard <mripard@...nel.org>
Thanks!
Maxime
Download attachment "signature.asc" of type "application/pgp-signature" (229 bytes)
Powered by blists - more mailing lists
 
