Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
L
linux
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
linux
Commits
77d062a5
Commit
77d062a5
authored
Dec 25, 2002
by
Greg Kroah-Hartman
Committed by
Vojtech Pavlik
Dec 25, 2002
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[PATCH] USB: convert keyspan driver to use dev_err() and dev_info() macros
parent
c2d953cf
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
6 deletions
+6
-6
drivers/usb/serial/keyspan.c
drivers/usb/serial/keyspan.c
+6
-6
No files found.
drivers/usb/serial/keyspan.c
View file @
77d062a5
...
...
@@ -1037,7 +1037,7 @@ static int keyspan_fake_startup (struct usb_serial *serial)
}
if
(
record
==
NULL
)
{
err
(
"Required keyspan firmware image (%s) unavailable.
"
,
fw_name
);
dev_err
(
serial
->
dev
->
dev
,
"Required keyspan firmware image (%s) unavailable.
\n
"
,
fw_name
);
return
(
1
);
}
...
...
@@ -1051,10 +1051,10 @@ static int keyspan_fake_startup (struct usb_serial *serial)
(
unsigned
char
*
)
record
->
data
,
record
->
data_size
,
0xa0
);
if
(
response
<
0
)
{
err
(
"ezusb_writememory failed for Keyspan"
"firmware (%d %04X %p %d)
"
,
response
,
record
->
address
,
record
->
data
,
record
->
data_size
);
dev_err
(
serial
->
dev
->
dev
,
"ezusb_writememory failed for Keyspan"
"firmware (%d %04X %p %d)
\n
"
,
response
,
record
->
address
,
record
->
data
,
record
->
data_size
);
break
;
}
record
++
;
...
...
@@ -1849,7 +1849,7 @@ static int keyspan_startup (struct usb_serial *serial)
if
(
d_details
->
product_id
==
serial
->
dev
->
descriptor
.
idProduct
)
break
;
if
(
d_details
==
NULL
)
{
err
(
"%s - unknown product id %x
"
,
__FUNCTION__
,
serial
->
dev
->
descriptor
.
idProduct
);
dev_err
(
serial
->
dev
->
dev
,
"%s - unknown product id %x
\n
"
,
__FUNCTION__
,
serial
->
dev
->
descriptor
.
idProduct
);
return
1
;
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment