forked from Minki/linux
Staging: lirc: fix quoted string split across lines
This patch removes the following warning reported by checkpatch.pl WARNING: quoted string split across lines drivers/staging/media/lirc/lirc_igorplugusb.c drivers/staging/media/lirc/lirc_imon.c drivers/staging/media/lirc/lirc_serial.c drivers/staging/media/lirc/lirc_zilog.c Signed-off-by: Matina Maria Trompouki <mtrompou@gmail.com> Reviewed-by: Peter P Waskiewicz Jr <peter.p.waskiewicz.jr@intel.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
parent
2dce674891
commit
70a51d284b
@ -363,8 +363,8 @@ static int igorplugusb_remote_poll(void *data, struct lirc_buffer *buf)
|
|||||||
/*dummy*/ir->buf_in, /*dummy*/ir->len_in,
|
/*dummy*/ir->buf_in, /*dummy*/ir->len_in,
|
||||||
/*timeout*/HZ * USB_CTRL_GET_TIMEOUT);
|
/*timeout*/HZ * USB_CTRL_GET_TIMEOUT);
|
||||||
if (ret < 0)
|
if (ret < 0)
|
||||||
printk(DRIVER_NAME "[%d]: SET_INFRABUFFER_EMPTY: "
|
printk(DRIVER_NAME "[%d]: SET_INFRABUFFER_EMPTY: error %d\n",
|
||||||
"error %d\n", ir->devnum, ret);
|
ir->devnum, ret);
|
||||||
return 0;
|
return 0;
|
||||||
} else if (ret < 0)
|
} else if (ret < 0)
|
||||||
printk(DRIVER_NAME "[%d]: GET_INFRACODE: error %d\n",
|
printk(DRIVER_NAME "[%d]: GET_INFRACODE: error %d\n",
|
||||||
|
@ -878,8 +878,8 @@ static int imon_probe(struct usb_interface *interface,
|
|||||||
alloc_status = 7;
|
alloc_status = 7;
|
||||||
goto unlock;
|
goto unlock;
|
||||||
} else
|
} else
|
||||||
dev_info(dev, "Registered iMON driver "
|
dev_info(dev, "Registered iMON driver (lirc minor: %d)\n",
|
||||||
"(lirc minor: %d)\n", lirc_minor);
|
lirc_minor);
|
||||||
|
|
||||||
/* Needed while unregistering! */
|
/* Needed while unregistering! */
|
||||||
driver->minor = lirc_minor;
|
driver->minor = lirc_minor;
|
||||||
@ -923,8 +923,8 @@ static int imon_probe(struct usb_interface *interface,
|
|||||||
|
|
||||||
if (usb_register_dev(interface, &imon_class)) {
|
if (usb_register_dev(interface, &imon_class)) {
|
||||||
/* Not a fatal error, so ignore */
|
/* Not a fatal error, so ignore */
|
||||||
dev_info(dev, "%s: could not get a minor number for "
|
dev_info(dev, "%s: could not get a minor number for display\n",
|
||||||
"display\n", __func__);
|
__func__);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -428,8 +428,8 @@ static int init_timing_params(unsigned int new_duty_cycle,
|
|||||||
period = 256 * 1000000L / freq;
|
period = 256 * 1000000L / freq;
|
||||||
pulse_width = period * duty_cycle / 100;
|
pulse_width = period * duty_cycle / 100;
|
||||||
space_width = period - pulse_width;
|
space_width = period - pulse_width;
|
||||||
dprintk("in init_timing_params, freq=%d pulse=%ld, "
|
dprintk("in init_timing_params, freq=%d pulse=%ld, space=%ld\n",
|
||||||
"space=%ld\n", freq, pulse_width, space_width);
|
freq, pulse_width, space_width);
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
#endif /* USE_RDTSC */
|
#endif /* USE_RDTSC */
|
||||||
|
@ -764,8 +764,8 @@ static int fw_load(struct IR_tx *tx)
|
|||||||
/* Request codeset data file */
|
/* Request codeset data file */
|
||||||
ret = request_firmware(&fw_entry, "haup-ir-blaster.bin", tx->ir->l.dev);
|
ret = request_firmware(&fw_entry, "haup-ir-blaster.bin", tx->ir->l.dev);
|
||||||
if (ret != 0) {
|
if (ret != 0) {
|
||||||
zilog_error("firmware haup-ir-blaster.bin not available "
|
zilog_error("firmware haup-ir-blaster.bin not available (%d)\n",
|
||||||
"(%d)\n", ret);
|
ret);
|
||||||
ret = ret < 0 ? ret : -EFAULT;
|
ret = ret < 0 ? ret : -EFAULT;
|
||||||
goto out;
|
goto out;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user