commit | 04aa4438c01938df30ffe26f72cef0cbd0a34f6e | [log] [tgz] |
---|---|---|
author | Lee Jones <lee.jones@linaro.org> | Mon Jul 21 14:05:24 2014 +0100 |
committer | Lee Jones <lee.jones@linaro.org> | Fri Jul 25 15:31:40 2014 +0100 |
tree | 0f1d2c580eb000c8dab5098aa69396d26874d3be | |
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>