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
02123a0e
Commit
02123a0e
authored
Mar 19, 2003
by
Greg Kroah-Hartman
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[PATCH] i2c i2c-amd8111.c: change a few printk() to dev_warn()
parent
a4639e9d
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
drivers/i2c/busses/i2c-amd8111.c
drivers/i2c/busses/i2c-amd8111.c
+4
-4
No files found.
drivers/i2c/busses/i2c-amd8111.c
View file @
02123a0e
...
@@ -74,7 +74,7 @@ unsigned int amd_ec_wait_write(struct amd_smbus *smbus)
...
@@ -74,7 +74,7 @@ unsigned int amd_ec_wait_write(struct amd_smbus *smbus)
udelay
(
1
);
udelay
(
1
);
if
(
!
timeout
)
{
if
(
!
timeout
)
{
printk
(
KERN_WARNING
"i2c-amd8111.c:
Timeout while waiting for IBF to clear
\n
"
);
dev_warn
(
&
smbus
->
dev
->
dev
,
"
Timeout while waiting for IBF to clear
\n
"
);
return
-
1
;
return
-
1
;
}
}
...
@@ -89,7 +89,7 @@ unsigned int amd_ec_wait_read(struct amd_smbus *smbus)
...
@@ -89,7 +89,7 @@ unsigned int amd_ec_wait_read(struct amd_smbus *smbus)
udelay
(
1
);
udelay
(
1
);
if
(
!
timeout
)
{
if
(
!
timeout
)
{
printk
(
KERN_WARNING
"i2c-amd8111.c:
Timeout while waiting for OBF to set
\n
"
);
dev_warn
(
&
smbus
->
dev
->
dev
,
"
Timeout while waiting for OBF to set
\n
"
);
return
-
1
;
return
-
1
;
}
}
...
@@ -256,11 +256,11 @@ s32 amd8111_access(struct i2c_adapter * adap, u16 addr, unsigned short flags,
...
@@ -256,11 +256,11 @@ s32 amd8111_access(struct i2c_adapter * adap, u16 addr, unsigned short flags,
case
I2C_SMBUS_BLOCK_DATA_PEC
:
case
I2C_SMBUS_BLOCK_DATA_PEC
:
case
I2C_SMBUS_PROC_CALL_PEC
:
case
I2C_SMBUS_PROC_CALL_PEC
:
case
I2C_SMBUS_BLOCK_PROC_CALL_PEC
:
case
I2C_SMBUS_BLOCK_PROC_CALL_PEC
:
printk
(
KERN_WARNING
"i2c-amd8111.c:
Unexpected software PEC transaction %d
\n
."
,
size
);
dev_warn
(
&
adap
->
dev
,
"
Unexpected software PEC transaction %d
\n
."
,
size
);
return
-
1
;
return
-
1
;
default:
default:
printk
(
KERN_WARNING
"i2c-amd8111.c:
Unsupported transaction %d
\n
"
,
size
);
dev_warn
(
&
adap
->
dev
,
"
Unsupported transaction %d
\n
"
,
size
);
return
-
1
;
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