i2c: nomadik: Convert to devm functions
authorUlf Hansson <ulf.hansson@linaro.org>
Tue, 18 Feb 2014 22:35:44 +0000 (23:35 +0100)
committerWolfram Sang <wsa@the-dreams.de>
Wed, 5 Mar 2014 16:10:30 +0000 (17:10 +0100)
commit9b2b98a3b4de464e871fa3a2da1e358d4001a3d2
tree6ea8598b170886d78eb7b89b623e263b0fbc0597
parentc33a004c9568cbd4b944a1ab293289822e6d562d
i2c: nomadik: Convert to devm functions

Use devm_* functions to simplify code and error handling.

Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
Signed-off-by: Wolfram Sang <wsa@the-dreams.de>
drivers/i2c/busses/i2c-nomadik.c