projects
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
23d51b8
)
eeprom: ee1004: Remove not needed debug message
author
Heiner Kallweit
<hkallweit1@gmail.com>
Tue, 1 Jun 2021 07:50:30 +0000
(09:50 +0200)
committer
Greg Kroah-Hartman
<gregkh@linuxfoundation.org>
Fri, 4 Jun 2021 13:28:27 +0000
(15:28 +0200)
If a user is interested in such transfer statistics he can simply
switch on smbus tracing.
Signed-off-by: Heiner Kallweit <hkallweit1@gmail.com>
Link:
https://lore.kernel.org/r/6169f52e-6ede-d7cc-7f8b-cced55b693d0@gmail.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/misc/eeprom/ee1004.c
patch
|
blob
|
history
diff --git
a/drivers/misc/eeprom/ee1004.c
b/drivers/misc/eeprom/ee1004.c
index 00f61a83d7dd0fb0653cc968e09cdafd8363bf3c..bb9c4512c968c8b3435b65cc46b713f3c75e216b 100644
(file)
--- a/
drivers/misc/eeprom/ee1004.c
+++ b/
drivers/misc/eeprom/ee1004.c
@@
-114,11
+114,7
@@
static ssize_t ee1004_eeprom_read(struct i2c_client *client, char *buf,
if (offset + count > EE1004_PAGE_SIZE)
count = EE1004_PAGE_SIZE - offset;
- status = i2c_smbus_read_i2c_block_data_or_emulated(client, offset,
- count, buf);
- dev_dbg(&client->dev, "read %zu@%d --> %d\n", count, offset, status);
-
- return status;
+ return i2c_smbus_read_i2c_block_data_or_emulated(client, offset, count, buf);
}
static ssize_t eeprom_read(struct file *filp, struct kobject *kobj,