static ssize_t set_backlight(struct device *dev, const char *buf, size_t count) 
static ssize_t set_backlight(struct device *dev, struct device_attribute *attr, const char *buf, size_t count) 
static ssize_t set_backlight(struct device *dev, const char *buf, size_t count){	struct usb_interface *intf = to_usb_interface(dev);	struct phidget_interfacekit *kit = usb_get_intfdata(intf);	int enabled;	unsigned char *buffer;	int retval = -ENOMEM;		buffer = kmalloc(8, GFP_KERNEL);	if (!buffer) {		dev_err(&kit->udev->dev, "%s - out of memory\n", __FUNCTION__);		goto exit;	}	if (sscanf(buf, "%d", &enabled) < 1) {		retval = -EINVAL;		goto exit;	}	memset(buffer, 0x00, 8);	if (enabled)		buffer[0] = 0x01;	buffer[7] = 0x11;	dev_dbg(&kit->udev->dev, "Setting backlight to %s\n", enabled ? "on" : "off");		retval = usb_control_msg(kit->udev,			 usb_sndctrlpipe(kit->udev, 0),			 0x09, 0x21, 0x0200, 0x0000, buffer, 8, 2000);	if (retval < 0)		goto exit;	retval = count;exit:	kfree(buffer);	return retval;}
10457	/local/tlutelli/issta_data/temp/c/2005_temp/2005/10457/060b8845e6bea938d65ad6f89e83507e5ff4fec4/phidgetkit.c/clean/drivers/usb/misc/phidgetkit.c