1
0
mirror of https://github.com/corundum/corundum.git synced 2025-02-06 08:38:23 +08:00
Pekka Enberg 57809dad90 mqnic_i2c: Fix device_attach() error handling
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>
2021-01-16 13:18:23 -08:00
..