diff options
author | Lee Jones <lee.jones@linaro.org> | 2014-07-21 14:05:24 +0100 |
---|---|---|
committer | Lee Jones <lee.jones@linaro.org> | 2014-07-25 15:31:40 +0100 |
commit | 04aa4438c01938df30ffe26f72cef0cbd0a34f6e (patch) | |
tree | 0f1d2c580eb000c8dab5098aa69396d26874d3be /drivers/infiniband/hw/usnic | |
parent | 52149ad265be7694f8afa21fb9af8a5fbf01b1a5 (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/infiniband/hw/usnic')
0 files changed, 0 insertions, 0 deletions