Re: [PATCH] hwmon: abituguru: make array probe_order static, makes object smaller

2019-10-06 Thread Guenter Roeck
On Sun, Oct 06, 2019 at 03:52:31PM +0100, Colin King wrote: > From: Colin Ian King > > Don't populate the array probe_order on the stack but instead make it > static. Makes the object code smaller by 94 bytes. > > Before: >text data bss dec hex filename > 41473

Re: [PATCH 2/3] hwmon: Support ADI Fan Control IP

2019-10-06 Thread Guenter Roeck
On Thu, Sep 26, 2019 at 12:39:24PM +0200, Nuno Sá wrote: > The purpose of this IP Core is to control the fan used for the cooling of a > Xilinx Zynq Ultrascale+ MPSoC without the need of any external temperature > sensors. To achieve this, the IP core uses the PL SYSMONE4 primitive to > obtain the

Re: [PATCH] hwmon: abituguru: make array probe_order static, makes object smaller

2019-10-06 Thread Hans de Goede
Hi, On 10/6/19 4:52 PM, Colin King wrote: From: Colin Ian King Don't populate the array probe_order on the stack but instead make it static. Makes the object code smaller by 94 bytes. Before: text data bss dec hex filename 41473 13448 320 55241

[PATCH] hwmon: abituguru: make array probe_order static, makes object smaller

2019-10-06 Thread Colin King
From: Colin Ian King Don't populate the array probe_order on the stack but instead make it static. Makes the object code smaller by 94 bytes. Before: textdata bss dec hex filename 41473 13448 320 55241d7c9 drivers/hwmon/abituguru.o After: textdata