Commit 25ec587c authored by Mauro Carvalho Chehab's avatar Mauro Carvalho Chehab

[media] rc: don't break long lines

Due to the 80-cols restrictions, and latter due to checkpatch
warnings, several strings were broken into multiple lines. This
is not considered a good practice anymore, as it makes harder
to grep for strings at the source code.

As we're right now fixing other drivers due to KERN_CONT, we need
to be able to identify what printk strings don't end with a "\n".
It is a way easier to detect those if we don't break long lines.

So, join those continuation lines.

The patch was generated via the script below, and manually
adjusted if needed.

</script>
use Text::Tabs;
while (<>) {
	if ($next ne "") {
		$c=$_;
		if ($c =~ /^\s+\"(.*)/) {
			$c2=$1;
			$next =~ s/\"\n$//;
			$n = expand($next);
			$funpos = index($n, '(');
			$pos = index($c2, '",');
			if ($funpos && $pos > 0) {
				$s1 = substr $c2, 0, $pos + 2;
				$s2 = ' ' x ($funpos + 1) . substr $c2, $pos + 2;
				$s2 =~ s/^\s+//;

				$s2 = ' ' x ($funpos + 1) . $s2 if ($s2 ne "");

				print unexpand("$next$s1\n");
				print unexpand("$s2\n") if ($s2 ne "");
			} else {
				print "$next$c2\n";
			}
			$next="";
			next;
		} else {
			print $next;
		}
		$next="";
	} else {
		if (m/\"$/) {
			if (!m/\\n\"$/) {
				$next=$_;
				next;
			}
		}
	}
	print $_;
}
</script>
Signed-off-by: default avatarMauro Carvalho Chehab <mchehab@s-opensource.com>
parent 547633de
...@@ -527,8 +527,7 @@ static void ati_remote_input_report(struct urb *urb) ...@@ -527,8 +527,7 @@ static void ati_remote_input_report(struct urb *urb)
remote_num = (data[3] >> 4) & 0x0f; remote_num = (data[3] >> 4) & 0x0f;
if (channel_mask & (1 << (remote_num + 1))) { if (channel_mask & (1 << (remote_num + 1))) {
dbginfo(&ati_remote->interface->dev, dbginfo(&ati_remote->interface->dev,
"Masked input from channel 0x%02x: data %02x, " "Masked input from channel 0x%02x: data %02x, mask= 0x%02lx\n",
"mask= 0x%02lx\n",
remote_num, data[2], channel_mask); remote_num, data[2], channel_mask);
return; return;
} }
......
...@@ -1210,8 +1210,7 @@ MODULE_PARM_DESC(txsim, ...@@ -1210,8 +1210,7 @@ MODULE_PARM_DESC(txsim,
MODULE_DEVICE_TABLE(pnp, ene_ids); MODULE_DEVICE_TABLE(pnp, ene_ids);
MODULE_DESCRIPTION MODULE_DESCRIPTION
("Infrared input driver for KB3926B/C/D/E/F " ("Infrared input driver for KB3926B/C/D/E/F (aka ENE0100/ENE0200/ENE0201/ENE0202) CIR port");
"(aka ENE0100/ENE0200/ENE0201/ENE0202) CIR port");
MODULE_AUTHOR("Maxim Levitsky"); MODULE_AUTHOR("Maxim Levitsky");
MODULE_LICENSE("GPL"); MODULE_LICENSE("GPL");
......
...@@ -441,13 +441,11 @@ MODULE_PARM_DESC(debug, "Debug messages: 0=no, 1=yes (default: no)"); ...@@ -441,13 +441,11 @@ MODULE_PARM_DESC(debug, "Debug messages: 0=no, 1=yes (default: no)");
/* lcd, vfd, vga or none? should be auto-detected, but can be overridden... */ /* lcd, vfd, vga or none? should be auto-detected, but can be overridden... */
static int display_type; static int display_type;
module_param(display_type, int, S_IRUGO); module_param(display_type, int, S_IRUGO);
MODULE_PARM_DESC(display_type, "Type of attached display. 0=autodetect, " MODULE_PARM_DESC(display_type, "Type of attached display. 0=autodetect, 1=vfd, 2=lcd, 3=vga, 4=none (default: autodetect)");
"1=vfd, 2=lcd, 3=vga, 4=none (default: autodetect)");
static int pad_stabilize = 1; static int pad_stabilize = 1;
module_param(pad_stabilize, int, S_IRUGO | S_IWUSR); module_param(pad_stabilize, int, S_IRUGO | S_IWUSR);
MODULE_PARM_DESC(pad_stabilize, "Apply stabilization algorithm to iMON PAD " MODULE_PARM_DESC(pad_stabilize, "Apply stabilization algorithm to iMON PAD presses in arrow key mode. 0=disable, 1=enable (default).");
"presses in arrow key mode. 0=disable, 1=enable (default).");
/* /*
* In certain use cases, mouse mode isn't really helpful, and could actually * In certain use cases, mouse mode isn't really helpful, and could actually
...@@ -455,14 +453,12 @@ MODULE_PARM_DESC(pad_stabilize, "Apply stabilization algorithm to iMON PAD " ...@@ -455,14 +453,12 @@ MODULE_PARM_DESC(pad_stabilize, "Apply stabilization algorithm to iMON PAD "
*/ */
static bool nomouse; static bool nomouse;
module_param(nomouse, bool, S_IRUGO | S_IWUSR); module_param(nomouse, bool, S_IRUGO | S_IWUSR);
MODULE_PARM_DESC(nomouse, "Disable mouse input device mode when IR device is " MODULE_PARM_DESC(nomouse, "Disable mouse input device mode when IR device is open. 0=don't disable, 1=disable. (default: don't disable)");
"open. 0=don't disable, 1=disable. (default: don't disable)");
/* threshold at which a pad push registers as an arrow key in kbd mode */ /* threshold at which a pad push registers as an arrow key in kbd mode */
static int pad_thresh; static int pad_thresh;
module_param(pad_thresh, int, S_IRUGO | S_IWUSR); module_param(pad_thresh, int, S_IRUGO | S_IWUSR);
MODULE_PARM_DESC(pad_thresh, "Threshold at which a pad push registers as an " MODULE_PARM_DESC(pad_thresh, "Threshold at which a pad push registers as an arrow key in kbd mode (default: 28)");
"arrow key in kbd mode (default: 28)");
static void free_imon_context(struct imon_context *ictx) static void free_imon_context(struct imon_context *ictx)
...@@ -785,9 +781,7 @@ static ssize_t show_associate_remote(struct device *d, ...@@ -785,9 +781,7 @@ static ssize_t show_associate_remote(struct device *d,
else else
strcpy(buf, "closed\n"); strcpy(buf, "closed\n");
dev_info(d, "Visit http://www.lirc.org/html/imon-24g.html for " dev_info(d, "Visit http://www.lirc.org/html/imon-24g.html for instructions on how to associate your iMON 2.4G DT/LT remote\n");
"instructions on how to associate your iMON 2.4G DT/LT "
"remote\n");
mutex_unlock(&ictx->lock); mutex_unlock(&ictx->lock);
return strlen(buf); return strlen(buf);
} }
...@@ -1115,8 +1109,7 @@ static int imon_ir_change_protocol(struct rc_dev *rc, u64 *rc_type) ...@@ -1115,8 +1109,7 @@ static int imon_ir_change_protocol(struct rc_dev *rc, u64 *rc_type)
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x86 }; 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x86 };
if (*rc_type && !(*rc_type & rc->allowed_protocols)) if (*rc_type && !(*rc_type & rc->allowed_protocols))
dev_warn(dev, "Looks like you're trying to use an IR protocol " dev_warn(dev, "Looks like you're trying to use an IR protocol this device does not support\n");
"this device does not support\n");
if (*rc_type & RC_BIT_RC6_MCE) { if (*rc_type & RC_BIT_RC6_MCE) {
dev_dbg(dev, "Configuring IR receiver for MCE protocol\n"); dev_dbg(dev, "Configuring IR receiver for MCE protocol\n");
...@@ -1129,8 +1122,7 @@ static int imon_ir_change_protocol(struct rc_dev *rc, u64 *rc_type) ...@@ -1129,8 +1122,7 @@ static int imon_ir_change_protocol(struct rc_dev *rc, u64 *rc_type)
/* ir_proto_packet[0] = 0x00; // already the default */ /* ir_proto_packet[0] = 0x00; // already the default */
*rc_type = RC_BIT_OTHER; *rc_type = RC_BIT_OTHER;
} else { } else {
dev_warn(dev, "Unsupported IR protocol specified, overriding " dev_warn(dev, "Unsupported IR protocol specified, overriding to iMON IR protocol\n");
"to iMON IR protocol\n");
if (!pad_stabilize) if (!pad_stabilize)
dev_dbg(dev, "PAD stabilize functionality disabled\n"); dev_dbg(dev, "PAD stabilize functionality disabled\n");
/* ir_proto_packet[0] = 0x00; // already the default */ /* ir_proto_packet[0] = 0x00; // already the default */
...@@ -1719,8 +1711,8 @@ static void imon_incoming_packet(struct imon_context *ictx, ...@@ -1719,8 +1711,8 @@ static void imon_incoming_packet(struct imon_context *ictx,
not_input_data: not_input_data:
if (len != 8) { if (len != 8) {
dev_warn(dev, "imon %s: invalid incoming packet " dev_warn(dev, "imon %s: invalid incoming packet size (len = %d, intf%d)\n",
"size (len = %d, intf%d)\n", __func__, len, intf); __func__, len, intf);
return; return;
} }
...@@ -1876,8 +1868,7 @@ static void imon_get_ffdc_type(struct imon_context *ictx) ...@@ -1876,8 +1868,7 @@ static void imon_get_ffdc_type(struct imon_context *ictx)
allowed_protos = RC_BIT_RC6_MCE; allowed_protos = RC_BIT_RC6_MCE;
break; break;
default: default:
dev_info(ictx->dev, "Unknown 0xffdc device, " dev_info(ictx->dev, "Unknown 0xffdc device, defaulting to VFD and iMON IR");
"defaulting to VFD and iMON IR");
detected_display_type = IMON_DISPLAY_TYPE_VFD; detected_display_type = IMON_DISPLAY_TYPE_VFD;
/* We don't know which one it is, allow user to set the /* We don't know which one it is, allow user to set the
* RC6 one from userspace if OTHER wasn't correct. */ * RC6 one from userspace if OTHER wasn't correct. */
...@@ -1934,8 +1925,8 @@ static void imon_set_display_type(struct imon_context *ictx) ...@@ -1934,8 +1925,8 @@ static void imon_set_display_type(struct imon_context *ictx)
ictx->display_supported = false; ictx->display_supported = false;
else else
ictx->display_supported = true; ictx->display_supported = true;
dev_info(ictx->dev, "%s: overriding display type to %d via " dev_info(ictx->dev, "%s: overriding display type to %d via modparam\n",
"modparam\n", __func__, display_type); __func__, display_type);
} }
ictx->display_type = configured_display_type; ictx->display_type = configured_display_type;
...@@ -2156,8 +2147,8 @@ static bool imon_find_endpoints(struct imon_context *ictx, ...@@ -2156,8 +2147,8 @@ static bool imon_find_endpoints(struct imon_context *ictx,
if (!display_ep_found) { if (!display_ep_found) {
tx_control = true; tx_control = true;
display_ep_found = true; display_ep_found = true;
dev_dbg(ictx->dev, "%s: device uses control endpoint, not " dev_dbg(ictx->dev, "%s: device uses control endpoint, not interface OUT endpoint\n",
"interface OUT endpoint\n", __func__); __func__);
} }
/* /*
...@@ -2366,8 +2357,8 @@ static void imon_init_display(struct imon_context *ictx, ...@@ -2366,8 +2357,8 @@ static void imon_init_display(struct imon_context *ictx,
/* set up sysfs entry for built-in clock */ /* set up sysfs entry for built-in clock */
ret = sysfs_create_group(&intf->dev.kobj, &imon_display_attr_group); ret = sysfs_create_group(&intf->dev.kobj, &imon_display_attr_group);
if (ret) if (ret)
dev_err(ictx->dev, "Could not create display sysfs " dev_err(ictx->dev, "Could not create display sysfs entries(%d)",
"entries(%d)", ret); ret);
if (ictx->display_type == IMON_DISPLAY_TYPE_LCD) if (ictx->display_type == IMON_DISPLAY_TYPE_LCD)
ret = usb_register_dev(intf, &imon_lcd_class); ret = usb_register_dev(intf, &imon_lcd_class);
...@@ -2375,8 +2366,7 @@ static void imon_init_display(struct imon_context *ictx, ...@@ -2375,8 +2366,7 @@ static void imon_init_display(struct imon_context *ictx,
ret = usb_register_dev(intf, &imon_vfd_class); ret = usb_register_dev(intf, &imon_vfd_class);
if (ret) if (ret)
/* Not a fatal error, so ignore */ /* Not a fatal error, so ignore */
dev_info(ictx->dev, "could not get a minor number for " dev_info(ictx->dev, "could not get a minor number for display\n");
"display\n");
} }
...@@ -2456,8 +2446,8 @@ static int imon_probe(struct usb_interface *interface, ...@@ -2456,8 +2446,8 @@ static int imon_probe(struct usb_interface *interface,
mutex_unlock(&ictx->lock); mutex_unlock(&ictx->lock);
} }
dev_info(dev, "iMON device (%04x:%04x, intf%d) on " dev_info(dev, "iMON device (%04x:%04x, intf%d) on usb<%d:%d> initialized\n",
"usb<%d:%d> initialized\n", vendor, product, ifnum, vendor, product, ifnum,
usbdev->bus->busnum, usbdev->devnum); usbdev->bus->busnum, usbdev->devnum);
mutex_unlock(&driver_lock); mutex_unlock(&driver_lock);
......
...@@ -55,14 +55,12 @@ MODULE_PARM_DESC(debug, "Enable debugging output"); ...@@ -55,14 +55,12 @@ MODULE_PARM_DESC(debug, "Enable debugging output");
/* low limit for RX carrier freq, Hz, 0 for no RX demodulation */ /* low limit for RX carrier freq, Hz, 0 for no RX demodulation */
static int rx_low_carrier_freq; static int rx_low_carrier_freq;
module_param(rx_low_carrier_freq, int, S_IRUGO | S_IWUSR); module_param(rx_low_carrier_freq, int, S_IRUGO | S_IWUSR);
MODULE_PARM_DESC(rx_low_carrier_freq, "Override low RX carrier frequency, Hz, " MODULE_PARM_DESC(rx_low_carrier_freq, "Override low RX carrier frequency, Hz, 0 for no RX demodulation");
"0 for no RX demodulation");
/* high limit for RX carrier freq, Hz, 0 for no RX demodulation */ /* high limit for RX carrier freq, Hz, 0 for no RX demodulation */
static int rx_high_carrier_freq; static int rx_high_carrier_freq;
module_param(rx_high_carrier_freq, int, S_IRUGO | S_IWUSR); module_param(rx_high_carrier_freq, int, S_IRUGO | S_IWUSR);
MODULE_PARM_DESC(rx_high_carrier_freq, "Override high RX carrier frequency, " MODULE_PARM_DESC(rx_high_carrier_freq, "Override high RX carrier frequency, Hz, 0 for no RX demodulation");
"Hz, 0 for no RX demodulation");
/* override tx carrier frequency */ /* override tx carrier frequency */
static int tx_carrier_freq; static int tx_carrier_freq;
...@@ -1484,8 +1482,7 @@ static int ite_probe(struct pnp_dev *pdev, const struct pnp_device_id ...@@ -1484,8 +1482,7 @@ static int ite_probe(struct pnp_dev *pdev, const struct pnp_device_id
if (model_number >= 0 && model_number < ARRAY_SIZE(ite_dev_descs)) { if (model_number >= 0 && model_number < ARRAY_SIZE(ite_dev_descs)) {
model_no = model_number; model_no = model_number;
ite_pr(KERN_NOTICE, "The model has been fixed by a module " ite_pr(KERN_NOTICE, "The model has been fixed by a module parameter.");
"parameter.");
} }
ite_pr(KERN_NOTICE, "Using model: %s\n", ite_dev_descs[model_no].model); ite_pr(KERN_NOTICE, "Using model: %s\n", ite_dev_descs[model_no].model);
......
...@@ -604,9 +604,7 @@ static void mceusb_dev_printdata(struct mceusb_dev *ir, char *buf, ...@@ -604,9 +604,7 @@ static void mceusb_dev_printdata(struct mceusb_dev *ir, char *buf,
break; break;
case MCE_RSP_EQWAKEVERSION: case MCE_RSP_EQWAKEVERSION:
if (!out) if (!out)
dev_dbg(dev, "Wake version, proto: 0x%02x, " dev_dbg(dev, "Wake version, proto: 0x%02x, payload: 0x%02x, address: 0x%02x, version: 0x%02x",
"payload: 0x%02x, address: 0x%02x, "
"version: 0x%02x",
data1, data2, data3, data4); data1, data2, data3, data4);
break; break;
case MCE_RSP_GETPORTSTATUS: case MCE_RSP_GETPORTSTATUS:
......
...@@ -660,8 +660,7 @@ static void ir_do_keydown(struct rc_dev *dev, enum rc_type protocol, ...@@ -660,8 +660,7 @@ static void ir_do_keydown(struct rc_dev *dev, enum rc_type protocol,
dev->last_toggle = toggle; dev->last_toggle = toggle;
dev->last_keycode = keycode; dev->last_keycode = keycode;
IR_dprintk(1, "%s: key down event, " IR_dprintk(1, "%s: key down event, key 0x%04x, protocol 0x%04x, scancode 0x%08x\n",
"key 0x%04x, protocol 0x%04x, scancode 0x%08x\n",
dev->input_name, keycode, protocol, scancode); dev->input_name, keycode, protocol, scancode);
input_report_key(dev->input_dev, keycode, 1); input_report_key(dev->input_dev, keycode, 1);
......
...@@ -265,8 +265,7 @@ static void redrat3_dump_fw_error(struct redrat3_dev *rr3, int code) ...@@ -265,8 +265,7 @@ static void redrat3_dump_fw_error(struct redrat3_dev *rr3, int code)
/* Codes 0x20 through 0x2f are IR Firmware Errors */ /* Codes 0x20 through 0x2f are IR Firmware Errors */
case 0x20: case 0x20:
pr_cont("Initial signal pulse not long enough " pr_cont("Initial signal pulse not long enough to measure carrier frequency\n");
"to measure carrier frequency\n");
break; break;
case 0x21: case 0x21:
pr_cont("Not enough length values allocated for signal\n"); pr_cont("Not enough length values allocated for signal\n");
...@@ -278,18 +277,15 @@ static void redrat3_dump_fw_error(struct redrat3_dev *rr3, int code) ...@@ -278,18 +277,15 @@ static void redrat3_dump_fw_error(struct redrat3_dev *rr3, int code)
pr_cont("Too many signal repeats\n"); pr_cont("Too many signal repeats\n");
break; break;
case 0x28: case 0x28:
pr_cont("Insufficient memory available for IR signal " pr_cont("Insufficient memory available for IR signal data memory allocation\n");
"data memory allocation\n");
break; break;
case 0x29: case 0x29:
pr_cont("Insufficient memory available " pr_cont("Insufficient memory available for IrDa signal data memory allocation\n");
"for IrDa signal data memory allocation\n");
break; break;
/* Codes 0x30 through 0x3f are USB Firmware Errors */ /* Codes 0x30 through 0x3f are USB Firmware Errors */
case 0x30: case 0x30:
pr_cont("Insufficient memory available for bulk " pr_cont("Insufficient memory available for bulk transfer structure\n");
"transfer structure\n");
break; break;
/* /*
...@@ -301,8 +297,7 @@ static void redrat3_dump_fw_error(struct redrat3_dev *rr3, int code) ...@@ -301,8 +297,7 @@ static void redrat3_dump_fw_error(struct redrat3_dev *rr3, int code)
pr_cont("Signal capture has been terminated\n"); pr_cont("Signal capture has been terminated\n");
break; break;
case 0x41: case 0x41:
pr_cont("Attempt to set/get and unknown signal I/O " pr_cont("Attempt to set/get and unknown signal I/O algorithm parameter\n");
"algorithm parameter\n");
break; break;
case 0x42: case 0x42:
pr_cont("Signal capture already started\n"); pr_cont("Signal capture already started\n");
...@@ -917,8 +912,7 @@ static struct rc_dev *redrat3_init_rc_dev(struct redrat3_dev *rr3) ...@@ -917,8 +912,7 @@ static struct rc_dev *redrat3_init_rc_dev(struct redrat3_dev *rr3)
goto out; goto out;
} }
snprintf(rr3->name, sizeof(rr3->name), "RedRat3%s " snprintf(rr3->name, sizeof(rr3->name), "RedRat3%s Infrared Remote Transceiver (%04x:%04x)",
"Infrared Remote Transceiver (%04x:%04x)",
prod == USB_RR3IIUSB_PRODUCT_ID ? "-II" : "", prod == USB_RR3IIUSB_PRODUCT_ID ? "-II" : "",
le16_to_cpu(rr3->udev->descriptor.idVendor), prod); le16_to_cpu(rr3->udev->descriptor.idVendor), prod);
......
...@@ -297,8 +297,7 @@ static struct rc_dev *streamzap_init_rc_dev(struct streamzap_ir *sz) ...@@ -297,8 +297,7 @@ static struct rc_dev *streamzap_init_rc_dev(struct streamzap_ir *sz)
goto out; goto out;
} }
snprintf(sz->name, sizeof(sz->name), "Streamzap PC Remote Infrared " snprintf(sz->name, sizeof(sz->name), "Streamzap PC Remote Infrared Receiver (%04x:%04x)",
"Receiver (%04x:%04x)",
le16_to_cpu(sz->usbdev->descriptor.idVendor), le16_to_cpu(sz->usbdev->descriptor.idVendor),
le16_to_cpu(sz->usbdev->descriptor.idProduct)); le16_to_cpu(sz->usbdev->descriptor.idProduct));
usb_make_path(sz->usbdev, sz->phys, sizeof(sz->phys)); usb_make_path(sz->usbdev, sz->phys, sizeof(sz->phys));
...@@ -364,15 +363,15 @@ static int streamzap_probe(struct usb_interface *intf, ...@@ -364,15 +363,15 @@ static int streamzap_probe(struct usb_interface *intf,
sz->endpoint = &(iface_host->endpoint[0].desc); sz->endpoint = &(iface_host->endpoint[0].desc);
if (!usb_endpoint_dir_in(sz->endpoint)) { if (!usb_endpoint_dir_in(sz->endpoint)) {
dev_err(&intf->dev, "%s: endpoint doesn't match input device " dev_err(&intf->dev, "%s: endpoint doesn't match input device 02%02x\n",
"02%02x\n", __func__, sz->endpoint->bEndpointAddress); __func__, sz->endpoint->bEndpointAddress);
retval = -ENODEV; retval = -ENODEV;
goto free_sz; goto free_sz;
} }
if (!usb_endpoint_xfer_int(sz->endpoint)) { if (!usb_endpoint_xfer_int(sz->endpoint)) {
dev_err(&intf->dev, "%s: endpoint attributes don't match xfer " dev_err(&intf->dev, "%s: endpoint attributes don't match xfer 02%02x\n",
"02%02x\n", __func__, sz->endpoint->bmAttributes); __func__, sz->endpoint->bmAttributes);
retval = -ENODEV; retval = -ENODEV;
goto free_sz; goto free_sz;
} }
......
...@@ -227,8 +227,7 @@ struct wbcir_data { ...@@ -227,8 +227,7 @@ struct wbcir_data {
static enum wbcir_protocol protocol = IR_PROTOCOL_RC6; static enum wbcir_protocol protocol = IR_PROTOCOL_RC6;
module_param(protocol, uint, 0444); module_param(protocol, uint, 0444);
MODULE_PARM_DESC(protocol, "IR protocol to use for the power-on command " MODULE_PARM_DESC(protocol, "IR protocol to use for the power-on command (0 = RC5, 1 = NEC, 2 = RC6A, default)");
"(0 = RC5, 1 = NEC, 2 = RC6A, default)");
static bool invert; /* default = 0 */ static bool invert; /* default = 0 */
module_param(invert, bool, 0444); module_param(invert, bool, 0444);
...@@ -244,8 +243,7 @@ MODULE_PARM_DESC(wake_sc, "Scancode of the power-on IR command"); ...@@ -244,8 +243,7 @@ MODULE_PARM_DESC(wake_sc, "Scancode of the power-on IR command");
static unsigned int wake_rc6mode = 6; static unsigned int wake_rc6mode = 6;
module_param(wake_rc6mode, uint, 0644); module_param(wake_rc6mode, uint, 0644);
MODULE_PARM_DESC(wake_rc6mode, "RC6 mode for the power-on command " MODULE_PARM_DESC(wake_rc6mode, "RC6 mode for the power-on command (0 = 0, 6 = 6A, default)");
"(0 = 0, 6 = 6A, default)");
...@@ -1050,8 +1048,7 @@ wbcir_probe(struct pnp_dev *device, const struct pnp_device_id *dev_id) ...@@ -1050,8 +1048,7 @@ wbcir_probe(struct pnp_dev *device, const struct pnp_device_id *dev_id)
goto exit_free_data; goto exit_free_data;
} }
dev_dbg(&device->dev, "Found device " dev_dbg(&device->dev, "Found device (w: 0x%lX, e: 0x%lX, s: 0x%lX, i: %u)\n",
"(w: 0x%lX, e: 0x%lX, s: 0x%lX, i: %u)\n",
data->wbase, data->ebase, data->sbase, data->irq); data->wbase, data->ebase, data->sbase, data->irq);
data->led.name = "cir::activity"; data->led.name = "cir::activity";
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment