Input: trackpoint - handle sysfs errors
authorJeff Garzik <jeff@garzik.org>
Fri, 3 Nov 2006 04:59:30 +0000 (23:59 -0500)
committerDmitry Torokhov <dtor@insightbb.com>
Fri, 3 Nov 2006 04:59:30 +0000 (23:59 -0500)
commit8ff22ea7d29d99b3dbec08fd541eb406c6775ec1
tree88d875a9723ce05f227389cab1e4862fe3ee0f18
parent8dd51650baf0861b0a73acb2c08bb944aa45bc61
Input: trackpoint - handle sysfs errors

Also use kzalloc instead of kcalloc since we are allocating single object.

Signed-off-by: Jeff Garzik <jeff@garzik.org>
Signed-off-by: Dmitry Torokhov <dtor@mail.ru>
drivers/input/mouse/trackpoint.c