mirror of
https://github.com/corundum/corundum.git
synced 2025-01-30 08:32:52 +08:00
57809dad90
If the device_attach() function fails, make sure "client" is free'd and that the create_i2c_client() function returns NULL to signal an error to callers. Signed-off-by: Pekka Enberg <penberg@iki.fi>