[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20221120141724.GA1790491@roeck-us.net>
Date: Sun, 20 Nov 2022 06:17:24 -0800
From: Guenter Roeck <linux@...ck-us.net>
To: Christophe JAILLET <christophe.jaillet@...adoo.fr>
Cc: Tim Harvey <tharvey@...eworks.com>,
Jean Delvare <jdelvare@...e.com>, linux-kernel@...r.kernel.org,
kernel-janitors@...r.kernel.org, linux-hwmon@...r.kernel.org
Subject: Re: [PATCH] hwmon: (gsc-hwmon) Switch to flexible array to simplify
code
On Sun, Nov 20, 2022 at 10:34:41AM +0100, Christophe JAILLET wrote:
> Using flexible array is more straight forward. It
> - saves 1 pointer in the 'gsc_hwmon_platform_data' structure
> - saves an indirection when using this array
> - saves some LoC and avoids some always spurious pointer arithmetic
>
> Signed-off-by: Christophe JAILLET <christophe.jaillet@...adoo.fr>
Applied to hwmon-next.
Thanks,
Guenter
Powered by blists - more mailing lists