Re: [PATCH v2 06/14] platform/x86: x86-android-tablets: Move Asus tablets to their own file

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

 



On Wed, Mar 1, 2023 at 11:23 AM Hans de Goede <hdegoede@xxxxxxxxxx> wrote:
>
> Move the info for the Asus tablets to their own asus.c file.

...

> +static int __init asus_me176c_tf103c_init(void)
> +{
> +       struct gpio_desc *gpiod;
> +       int ret;
> +
> +       ret = x86_android_tablet_get_gpiod("INT33FC:02", 12, &gpiod);
> +       if (ret < 0)
> +               return ret;
> +       asus_me176c_tf103c_lid.gpio = desc_to_gpio(gpiod);

> +

I would expect this blank line to be after return ret;, but it's not a big deal.

> +       return 0;
> +}

-- 
With Best Regards,
Andy Shevchenko




[Index of Archives]     [Linux Kernel Development]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux