On Sat, Apr 29, 2023 at 9:16 PM Hans de Goede <hdegoede@xxxxxxxxxx> wrote: > > Abstract kbd backlight setting. > While at it also replace the ugly > uint8_t type with u8. I believe this is a fragile selling point. The more important one is do we have consistency in the code (i.e. u8 everywhere, or uint8_t everywhere)? If so, I don't see why uint8_t is ugly. > This is a preparation patch for making lenovo-yogabook-wmi also work > on the Android version of the Yoga Book 1 which does not have a WMI > interface to deal with toggling the keyboard half between > touch-keyboard and wacom-digitizer mode. -- With Best Regards, Andy Shevchenko