Re: [PATCH] hwmon: (oxp-sensors) Use less convoluted enum cast

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Thanks, Guenter!

El sáb, 29 abr 2023 a la(s) 11:43, Guenter Roeck (linux@xxxxxxxxxxxx) escribió:
>
> 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@xxxxxxxxx>
>
> Applied to hwmon-next.
>
> Thanks,
> Guenter



-- 
Joaquín I. Aramendía




[Index of Archives]     [LM Sensors]     [Linux Sound]     [ALSA Users]     [ALSA Devel]     [Linux Audio Users]     [Linux Media]     [Kernel]     [Gimp]     [Yosemite News]     [Linux Media]

  Powered by Linux