On Thu, Jan 15, 2015 at 09:21:34PM +0100, Pali Rohár wrote:
> On Wednesday 14 January 2015 23:55:53 Dmitry Torokhov wrote:
> > +   /*
> > +    * Reset the device to make sure it is fully operational:
> > +    * on some laptops, like certain Dell Latitudes, we may
> > +    * fail to properly detect presence of trackstick if device
> > +    * has not been reset.
> > +    */
> > +   psmouse_reset(psmouse);
> > +
> > +   priv = kzalloc(sizeof(struct alps_data), GFP_KERNEL);
> > +   if (priv)
> 
> if (!priv)

Yep, thanks.

-- 
Dmitry
--
To unsubscribe from this list: send the line "unsubscribe linux-input" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to