[PATCH 6.11 354/817] i2c: dev: Fix memory leak when underlying adapter does not support I2C