From 04aa4438c01938df30ffe26f72cef0cbd0a34f6e Mon Sep 17 00:00:00 2001 From: Lee Jones Date: Mon, 21 Jul 2014 14:05:24 +0100 Subject: [PATCH] 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 --- Reading git-format-patch failed