[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <18804132-56f2-436e-ba1c-298653324d37@roeck-us.net>
Date: Sat, 29 Apr 2023 07:43:54 -0700
From: Guenter Roeck <linux@...ck-us.net>
To: Joaquín Ignacio Aramendía <samsagax@...il.com>
Cc: derekjohn.clark@...il.com, jdelvare@...e.com,
linux-hwmon@...r.kernel.org, linux-kernel@...r.kernel.org
Subject: Re: [PATCH] hwmon: (oxp-sensors) Use less convoluted enum cast
On Sat, Apr 29, 2023 at 11:25:48AM -0300, Joaquín Ignacio Aramendía wrote:
> Change
>
> .driver_data = (void *) &(enum type) {enum_literal};
>
> to more readable form:
>
> .driver_data = (void *) enum_literal;
>
> and corresponding cast usage as board type flag.
>
> Signed-off-by: Joaquín Ignacio Aramendía <samsagax@...il.com>
Applied to hwmon-next.
Thanks,
Guenter
Powered by blists - more mailing lists