]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
i2c: added a few missing gotos to add_children()
authorFelipe Balbi <felipe.balbi@nokia.com>
Tue, 30 Sep 2008 18:42:57 +0000 (21:42 +0300)
committerTony Lindgren <tony@atomide.com>
Wed, 1 Oct 2008 10:37:37 +0000 (13:37 +0300)
commita5f78ae6ead9859c495b2ebfaebadba746c0d672
tree0451fffa77a6ccb02d66cb7d66269129e6c85a9d
parent5dc1edce91a2c6f69d376a2cf5c582c361a55fc9
i2c: added a few missing gotos to add_children()

Previously we were failing platform_device_add_data()
and returning from add_children but trying to keep going
when platform_device_add() fails.

Signed-off-by: Felipe Balbi <felipe.balbi@nokia.com>
Signed-off-by: Tony Lindgren <tony@atomide.com>
drivers/i2c/chips/twl4030-core.c