mirror of
https://github.com/corundum/corundum.git
synced 2025-01-16 08:12:53 +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>