[PATCH 1/3] i2c: i2c-mux-gpio: Use devm_kzalloc instead of kzalloc
Jean Delvare
khali at linux-fr.org
Sat Oct 6 09:10:28 EDT 2012
On Thu, 27 Sep 2012 17:13:02 +0200, Maxime Ripard wrote:
> Use the devm_kzalloc managed function to stripdown the error and remove
> code.
>
> Signed-off-by: Maxime Ripard <maxime.ripard at free-electrons.com>
> Acked-by: Jean Delvare <khali at linux-fr.org>
> Acked-by: Peter Korsgaard <jacmet at sunsite.dk>
> ---
> drivers/i2c/muxes/i2c-mux-gpio.c | 14 +++++---------
> 1 file changed, 5 insertions(+), 9 deletions(-)
> (...)
Note: I ended up applying this patch (it's on its way to Linus already)
because it did conflict with another patch in my tree. So only patches
2/3 and 3/3 in this series are left for Wolfram to handle.
--
Jean Delvare
More information about the linux-arm-kernel
mailing list