i2c: au1550: Convert to devm_kzalloc and devm_ioremap_resource
authorAxel Lin <axel.lin@ingics.com>
Tue, 9 Jun 2015 07:52:49 +0000 (15:52 +0800)
committerWolfram Sang <wsa@the-dreams.de>
Fri, 23 Oct 2015 21:31:11 +0000 (23:31 +0200)
commit174f2366b076db3876c3b7f595edf2aa739f9d43
tree47bed7c138b182dbb1838afdc4fbfcc6eef13e2f
parent9e685c84c266582ad002311497684f183db6b937
i2c: au1550: Convert to devm_kzalloc and devm_ioremap_resource

Use devm_* APIs to simplify the code.

Signed-off-by: Axel Lin <axel.lin@ingics.com>
Tested-by: Manuel Lauss <manuel.lauss@gmail.com>
Signed-off-by: Wolfram Sang <wsa@the-dreams.de>
drivers/i2c/busses/i2c-au1550.c