Re: [PATCH] Support for the eGalax dual-touch panel

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

 




Le 10 avr. 10 à 18:04, Christoph Fritz a écrit :

Am Samstag, den 10.04.2010, 16:43 +0200 schrieb Stephane Chatty:
Added support for the eGalax dual-touch panel, found on the Asus EeePC T101MT

+static void egalax_remove(struct hid_device *hdev)
+{
+	hid_hw_stop(hdev);
+	kfree(hid_get_drvdata(hdev));
+	hid_set_drvdata(hdev, NULL);
+}

Why not using hid_hw_stop() instead of hid_set_drvdata()?


Er, actually for a previous driver Dmitry suggested to add this line and I did it without trying to understand :-)

St.

--
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

[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