summaryrefslogtreecommitdiffstats
path: root/kernel/perf_event.c
diff options
context:
space:
mode:
authorLinus Walleij <linus.walleij@stericsson.com>2010-10-21 21:06:44 +0200
committerGrant Likely <grant.likely@secretlab.ca>2010-10-22 09:51:05 -0600
commiteb288a1f45e2aa903ac8edf67dc6d59df0369fe1 (patch)
treef43886e9b374065dd29d930116f58d5ef47524fc /kernel/perf_event.c
parent73e1ac16258fe7e55cce4691e32c0b44d4579e08 (diff)
downloadop-kernel-dev-eb288a1f45e2aa903ac8edf67dc6d59df0369fe1.zip
op-kernel-dev-eb288a1f45e2aa903ac8edf67dc6d59df0369fe1.tar.gz
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: Linus Walleij <linus.walleij@stericsson.com> [grant.likely@secretlab.ca: removed dev_dbg->dev_err hunk] Signed-off-by: Grant Likely <grant.likely@secretlab.ca>
Diffstat (limited to 'kernel/perf_event.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud