Skip to content
Commit eb288a1f authored by Linus Walleij's avatar Linus Walleij Committed by Grant Likely
Browse files

spi: fixed odd static string conventions in core code



This patch removes convention of passing a static string as a
parameter to another static string.  The convention is intended to
reduce text usage by sharing the common bits of the string, but the
implementation is inherently fragile (a change to one format string
but not the other will nullify any possible advantage), it isn't
necessarily a net win depending on what this compiler does, and it
it reduces code readability.

Signed-off-by: default avatarLinus Walleij <linus.walleij@stericsson.com>
[grant.likely@secretlab.ca: removed dev_dbg->dev_err hunk]
Signed-off-by: default avatarGrant Likely <grant.likely@secretlab.ca>
parent 73e1ac16
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