Re: [PATCH 6/6] Input: ALPS - mix trackstick and external PS/2 mouse data

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

 



On Wednesday 14 January 2015 23:55:54 Dmitry Torokhov wrote:
> +       dev3 = input_allocate_device();
> +       if (!dev3) {
> +               psmouse_err(psmouse, "failed to alolocate secondary device\n");

                                                  allocate

> +               error = -ENOMEM;
> +               goto out;
> +       }

...

>         if (priv->flags & ALPS_DUALPOINT) {
> +               struct input_dev *dev2;
> +
> +               dev2 = input_allocate_device();
> +               if (!dev2) {
> +                       psmouse_err(psmouse,
> +                                   "failed to allocate  trackstick device\n");

                                                         ^^ 2x space

> +                       error = -ENOMEM;
> +                       goto init_fail;
> +               }

-- 
Pali Rohár
pali.rohar@xxxxxxxxx

Attachment: signature.asc
Description: This is a digitally signed message part.


[Index of Archives]     [Linux Media Devel]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [Linux Wireless Networking]     [Linux Omap]

  Powered by Linux