Skip to content
Commit 874e955b authored by Wolfram Sang's avatar Wolfram Sang
Browse files

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: default avatarWolfram Sang <wsa@the-dreams.de>
parent 42fa278d
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment