i2c: viperboard: Use devm_kzalloc() functions
authorJingoo Han <jg1.han@samsung.com>
Tue, 17 Dec 2013 07:01:41 +0000 (16:01 +0900)
committerWolfram Sang <wsa@the-dreams.de>
Sat, 4 Jan 2014 21:11:24 +0000 (22:11 +0100)
commitcf9557d1f4069129e85dc4eef9dc8d4371152ad8
tree5c9277b1531e13ed1556896057ff0858af2b7883
parenta8763f33c55b74c26e4532e1893d2dcf6d038abe
i2c: viperboard: Use devm_kzalloc() functions

Use devm_kzalloc() functions to make cleanup paths simpler.

Signed-off-by: Jingoo Han <jg1.han@samsung.com>
Acked-by: Lars Poeschel <poeschel@lemonage.de>
Signed-off-by: Wolfram Sang <wsa@the-dreams.de>
drivers/i2c/busses/i2c-viperboard.c