Commits
Wolfram Sang committed ce0dffafd40
i2c: free idr when sanity checks in i2c_register_adapter() fail On error, we should give idr back to the pool in any case. Signed-off-by: Wolfram Sang <wsa-dev@sang-engineering.com> Reviewed-by: Jean Delvare <jdelvare@suse.de> Signed-off-by: Wolfram Sang <wsa@the-dreams.de>