Commit c84f259c authored by Devang Panchal's avatar Devang Panchal Committed by Greg Kroah-Hartman

eeprom: at25: sizeof t should be sizeof(t)

Resolved checkpatch warning "sizeof t should be sizeof(t)"
issue found by checkpatch.
Signed-off-by: default avatarDevang Panchal <devang.panchal@softnautics.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent c50099f8
......@@ -102,7 +102,7 @@ static int at25_ee_read(void *priv, unsigned int offset,
}
spi_message_init(&m);
memset(t, 0, sizeof t);
memset(t, 0, sizeof(t));
t[0].tx_buf = command;
t[0].len = at25->addrlen + 1;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment