Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 326114
b: refs/heads/master
c: 93ba0f0
h: refs/heads/master
v: v3
  • Loading branch information
Greg Kroah-Hartman committed Sep 18, 2012
1 parent e88f002 commit 277b282
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 7 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: 788a661a9fa59740984f509832cae33dde4b0329
refs/heads/master: 93ba0f037bfc7d6c6431c0db767f2244ac583578
8 changes: 2 additions & 6 deletions trunk/drivers/usb/serial/safe_serial.c
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,7 @@
*
*/

#define pr_fmt(fmt) KBUILD_MODNAME ": " fmt

#include <linux/kernel.h>
#include <linux/errno.h>
Expand All @@ -84,7 +85,6 @@
static bool safe = 1;
static bool padded = CONFIG_USB_SERIAL_SAFE_PADDED;

#define DRIVER_VERSION "v0.1"
#define DRIVER_AUTHOR "sl@lineo.com, tbr@lineo.com, Johan Hovold <jhovold@gmail.com>"
#define DRIVER_DESC "USB Safe Encapsulated Serial"

Expand Down Expand Up @@ -311,13 +311,9 @@ static int __init safe_init(void)
{
int i;

printk(KERN_INFO KBUILD_MODNAME ": " DRIVER_VERSION ":"
DRIVER_DESC "\n");

/* if we have vendor / product parameters patch them into id list */
if (vendor || product) {
printk(KERN_INFO KBUILD_MODNAME ": vendor: %x product: %x\n",
vendor, product);
pr_info("vendor: %x product: %x\n", vendor, product);

for (i = 0; i < ARRAY_SIZE(id_table); i++) {
if (!id_table[i].idVendor && !id_table[i].idProduct) {
Expand Down

0 comments on commit 277b282

Please sign in to comment.