OSDN Git Service

USB: Onetouch - switch to using input_dev->dev.parent
authorDmitry Torokhov <dtor@insightbb.com>
Tue, 8 May 2007 04:31:30 +0000 (00:31 -0400)
committerGreg Kroah-Hartman <gregkh@suse.de>
Wed, 23 May 2007 06:45:50 +0000 (23:45 -0700)
commit09b7002d68cfa1c45cc413a0c7cca399c25a57c6
treee5fbb5f3bd3c537548eeef4d401bab1247299e02
parent57a21c1b929450b1e020c0a03cca6fa7448f4222
USB: Onetouch - switch to using input_dev->dev.parent

In preparation for struct class_device -> struct device input
core conversion, switch to using input_dev->dev.parent when
specifying device position in sysfs tree.

Also, do not access input_dev->private directly, use helpers.

Signed-off-by: Dmitry Torokhov <dtor@mail.ru>
Signed-off-by: Matthew Dharm <mdharm-usb@one-eyed-alien.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/usb/storage/onetouch.c