]> git.baikalelectronics.ru Git - kernel.git/commit
i2c: powermac: fix return path on error
authorWolfram Sang <wsa@the-dreams.de>
Thu, 11 Jul 2013 21:02:03 +0000 (22:02 +0100)
committerWolfram Sang <wsa@the-dreams.de>
Wed, 21 Aug 2013 09:34:25 +0000 (11:34 +0200)
commit27513c344a6c3141849a07b75b228686e0808fb1
tree01b14cb539a6e6b4178e764f0f66ee550c964632
parent50a60c6604c71d5f2ed4a5eae16c57597b18787d
i2c: powermac: fix return path on error

We want to bail out immediately if i2c_add_adapter failed and not try to
register child nodes with a nilled adapter structure.

Signed-off-by: Wolfram Sang <wsa@the-dreams.de>
drivers/i2c/busses/i2c-powermac.c