summaryrefslogtreecommitdiff
path: root/drivers/hwspinlock
diff options
context:
space:
mode:
authorLee Jones <lee.jones@linaro.org>2014-07-21 14:05:24 +0100
committerLee Jones <lee.jones@linaro.org>2014-07-25 15:31:40 +0100
commit04aa4438c01938df30ffe26f72cef0cbd0a34f6e (patch)
tree0f1d2c580eb000c8dab5098aa69396d26874d3be /drivers/hwspinlock
parent52149ad265be7694f8afa21fb9af8a5fbf01b1a5 (diff)
mfd: twl4030-irq: Fix style warnings relating to pr_warn() and sizeof()
This is part of an effort to clean-up the MFD subsystem. WARNING: Prefer pr_warn(... to pr_warning(... + pr_warning("twl4030: I2C error %d reading PIH ISR\n", ret); WARNING: sizeof buf should be sizeof(buf) + memset(buf, 0xff, sizeof buf); WARNING: sizeof *agent should be sizeof(*agent) + agent = kzalloc(sizeof *agent, GFP_KERNEL); Signed-off-by: Lee Jones <lee.jones@linaro.org>
Diffstat (limited to 'drivers/hwspinlock')
0 files changed, 0 insertions, 0 deletions