[PATCH] I2C: fixed a little memory leak in i2c-ali15x3.c
there is a little memory leak in i2c-ali15x3.c . You can reproduce the BUG as follows: In a PC with no such device unloading i2c-ali15x3 cause an oops in release_region. I've fixed by moving release_region() from i2c_ali15x3_exit() to ali15x3_remove().
Showing
Please register or sign in to comment