Skip to content

Commit

Permalink
Input: xpad - minor formatting fixes
Browse files Browse the repository at this point in the history
Fixed a few minor coding style issues in xpad driver.

Signed-off-by: "Guillermo A. Amaral B." <[email protected]>
Signed-off-by: Dmitry Torokhov <[email protected]>
  • Loading branch information
gamaral authored and dtor committed Dec 4, 2012
1 parent 0a0d628 commit 0d02796
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions drivers/input/joystick/xpad.c
Original file line number Diff line number Diff line change
Expand Up @@ -235,7 +235,7 @@ static const signed short xpad_abs_triggers[] = {
{ XPAD_XBOX360_VENDOR_PROTOCOL(vend,1) }, \
{ XPAD_XBOX360_VENDOR_PROTOCOL(vend,129) }

static struct usb_device_id xpad_table [] = {
static struct usb_device_id xpad_table[] = {
{ USB_INTERFACE_INFO('X', 'B', 0) }, /* X-Box USB-IF not approved class */
XPAD_XBOX360_VENDOR(0x045e), /* Microsoft X-Box 360 controllers */
XPAD_XBOX360_VENDOR(0x046d), /* Logitech X-Box 360 style controllers */
Expand All @@ -251,7 +251,7 @@ static struct usb_device_id xpad_table [] = {
{ }
};

MODULE_DEVICE_TABLE (usb, xpad_table);
MODULE_DEVICE_TABLE(usb, xpad_table);

struct usb_xpad {
struct input_dev *dev; /* input device interface */
Expand Down Expand Up @@ -783,7 +783,7 @@ static int xpad_open(struct input_dev *dev)
struct usb_xpad *xpad = input_get_drvdata(dev);

/* URB was submitted in probe */
if(xpad->xtype == XTYPE_XBOX360W)
if (xpad->xtype == XTYPE_XBOX360W)
return 0;

xpad->irq_in->dev = xpad->udev;
Expand Down

0 comments on commit 0d02796

Please sign in to comment.