It is not needed anymore as behavior is controlled by the transport
operations set up for given device.
Tested-by: Tim Schumacher <timschumi@gmx.de>
Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
iforce = &iforce_serio->iforce;
iforce->xport_ops = &iforce_serio_xport_ops;
- iforce->bus = IFORCE_232;
iforce_serio->serio = serio;
serio_set_drvdata(serio, iforce_serio);
iforce = &iforce_usb->iforce;
iforce->xport_ops = &iforce_usb_xport_ops;
- iforce->bus = IFORCE_USB;
iforce_usb->usbdev = dev;
iforce_usb->intf = intf;
#define IFORCE_MAX_LENGTH 16
-/* iforce::bus */
-#define IFORCE_232 1
-#define IFORCE_USB 2
-
#define IFORCE_EFFECTS_MAX 32
/* Each force feedback effect is made of one core effect, which can be
struct input_dev *dev; /* Input device interface */
struct iforce_device *type;
const struct iforce_xport_ops *xport_ops;
- int bus;
spinlock_t xmit_lock;
/* Buffer used for asynchronous sending of bytes to the device */