提交 abdedefe 编写于 作者: K Kevyn-Alexandre Paré 提交者: Greg Kroah-Hartman

Staging: comedi: amplc_pc263.c: fix coding style issues

Signed-off-by: NKevyn-Alexandre Paré <kevyn.alexandre.pare@gmail.com>
Signed-off-by: NGreg Kroah-Hartman <gregkh@suse.de>
上级 ff492d38
...@@ -117,7 +117,8 @@ MODULE_DEVICE_TABLE(pci, pc263_pci_table); ...@@ -117,7 +117,8 @@ MODULE_DEVICE_TABLE(pci, pc263_pci_table);
/* this structure is for data unique to this hardware driver. If /* this structure is for data unique to this hardware driver. If
several hardware drivers keep similar information in this structure, several hardware drivers keep similar information in this structure,
feel free to suggest moving the variable to the struct comedi_device struct. */ feel free to suggest moving the variable to the struct comedi_device struct.
*/
#ifdef CONFIG_COMEDI_PCI #ifdef CONFIG_COMEDI_PCI
struct pc263_private { struct pc263_private {
/* PCI device. */ /* PCI device. */
...@@ -281,7 +282,8 @@ static int pc263_attach(struct comedi_device *dev, struct comedi_devconfig *it) ...@@ -281,7 +282,8 @@ static int pc263_attach(struct comedi_device *dev, struct comedi_devconfig *it)
ret = comedi_pci_enable(pci_dev, PC263_DRIVER_NAME); ret = comedi_pci_enable(pci_dev, PC263_DRIVER_NAME);
if (ret < 0) { if (ret < 0) {
printk(KERN_ERR printk(KERN_ERR
"comedi%d: error! cannot enable PCI device and request regions!\n", "comedi%d: error! cannot enable PCI device and "
"request regions!\n",
dev->minor); dev->minor);
return ret; return ret;
} }
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册