summaryrefslogtreecommitdiffstats
path: root/drivers/i2c/i2c-core.c
diff options
context:
space:
mode:
authorBen Dooks <ben-linux@fluff.org>2007-05-01 23:26:35 +0200
committerJean Delvare <khali@hyperion.delvare>2007-05-01 23:26:35 +0200
commit5b68790cd5e2879067bcbc45b01eeb6081e7d731 (patch)
tree89b5a557a665a124df3a0941d65de111231bba0b /drivers/i2c/i2c-core.c
parente00a8cdf325346c531c841ee85c803792db60157 (diff)
downloadop-kernel-dev-5b68790cd5e2879067bcbc45b01eeb6081e7d731.zip
op-kernel-dev-5b68790cd5e2879067bcbc45b01eeb6081e7d731.tar.gz
i2c-s3c2410: Fix bug in releasing driver
When compiled as a module, the i2c-s3c2410 driver does not free either the IRQ or the i2c adapter it attached to the system. As part of this fix, move to the usual kernel style of freeing items as part of the probe error path making the remove process easier. Signed-off-by: Ben Dooks <ben-linux@fluff.org> Signed-off-by: Jean Delvare <khali@linux-fr.org>
Diffstat (limited to 'drivers/i2c/i2c-core.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud