Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 126757
b: refs/heads/master
c: 006ef0e
h: refs/heads/master
i:
  126755: ed50de3
v: v3
  • Loading branch information
Greg Kroah-Hartman committed Jan 6, 2009
1 parent 8571cec commit 7fddd40
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 304 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 8da3dc28753ece6b7ddae9d5897a0ad0797e21e6
refs/heads/master: 006ef0ec96de0dec01064df86febbc813f23c96a
24 changes: 0 additions & 24 deletions trunk/drivers/staging/frontier/alphatrack.c
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,6 @@ MODULE_SUPPORTED_DEVICE("Frontier Designs Alphatrack Control Surface");

/* These aren't done yet */

#define ALPHATRACK_HAVE_SYSFS 0
#define SUPPRESS_EXTRA_ONLINE_EVENTS 0
#define BUFFERED_WRITES 0
#define SUPPRESS_EXTRA_OFFLINE_EVENTS 0
Expand Down Expand Up @@ -232,12 +231,6 @@ static void usb_alphatrack_abort_transfers(struct usb_alphatrack *dev)
usb_kill_urb(dev->interrupt_out_urb);
}

#if ALPHATRACK_HAVE_SYSFS
/* lots and lots and lots of sysfs stuff */
/* Currently borked, probably useless */
#include "alphatrack_sysfs.c"
#endif

/**
* usb_alphatrack_delete
*/
Expand Down Expand Up @@ -800,23 +793,6 @@ static int usb_alphatrack_probe(struct usb_interface *intf, const struct usb_dev
dev_info(&intf->dev, "Alphatrack Device #%d now attached to major %d minor %d\n",
(intf->minor - USB_ALPHATRACK_MINOR_BASE), USB_MAJOR, intf->minor);

#if ALPHATRACK_HAVE_SYSFS
if((retval = device_create_file(&intf->dev, &dev_attr_event))) goto error;
if((retval = device_create_file(&intf->dev, &dev_attr_dump_state))) goto error;
if((retval = device_create_file(&intf->dev, &dev_attr_enable))) goto error;
if((retval = device_create_file(&intf->dev, &dev_attr_offline))) goto error;

/* exercise sysfs */

set_lights("32767"); // turn on all the lights
set_fader0("1023"); // Move fader to max
set_screen("INITIALIZING ALPHATRACK...");
set_lights("0");
set_fader0("0");
set_screen(" ");

#endif

exit:
return retval;

Expand Down
279 changes: 0 additions & 279 deletions trunk/drivers/staging/frontier/alphatrack_sysfs.c

This file was deleted.

0 comments on commit 7fddd40

Please sign in to comment.