i2c-ocores: Use devres for resource allocation
authorJonas Bonn <jonas@southpole.se>
Wed, 24 Nov 2010 16:26:21 +0000 (17:26 +0100)
committerBen Dooks <ben-linux@fluff.org>
Tue, 4 Jan 2011 01:04:23 +0000 (01:04 +0000)
commit47def5b80f087d033013c0609679812cfafd6b49
tree6ec05ee144fdad62d3308aa50c1a1149e571a0e1
parent049bb69d82e5f7f356949c1ae34a244b3338611b
i2c-ocores: Use devres for resource allocation

This patch converts the i2c-cores driver to use devres routines for
resource allocation.

Signed-off-by: Jonas Bonn <jonas@southpole.se>
Signed-off-by: Ben Dooks <ben-linux@fluff.org>
drivers/i2c/busses/i2c-ocores.c