On Fri, Apr 08, 2011 at 01:15:02PM +0800, Zhang Jiejing wrote: > + > +static __devexit int max11801_ts_remove(struct i2c_client *client) > +{ > + struct max11801_data *data = i2c_get_clientdata(client); > + > + free_irq(client->irq, data); > + input_unregister_device(data->input_dev); > + input_free_device(data->input_dev); You should not call input_free_device() after input_unregister_device(). Otherwise queued for .40 (witho some minor edits). Thanks. -- Dmitry -- To unsubscribe from this list: send the line "unsubscribe linux-input" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html