summaryrefslogtreecommitdiffstats
path: root/package/kernel/i2c-gpio-custom/src/i2c-gpio-custom.c
diff options
context:
space:
mode:
Diffstat (limited to 'package/kernel/i2c-gpio-custom/src/i2c-gpio-custom.c')
-rw-r--r--package/kernel/i2c-gpio-custom/src/i2c-gpio-custom.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/package/kernel/i2c-gpio-custom/src/i2c-gpio-custom.c b/package/kernel/i2c-gpio-custom/src/i2c-gpio-custom.c
index 921d290d52..dd5a68165c 100644
--- a/package/kernel/i2c-gpio-custom/src/i2c-gpio-custom.c
+++ b/package/kernel/i2c-gpio-custom/src/i2c-gpio-custom.c
@@ -51,7 +51,7 @@
#define DRV_NAME "i2c-gpio-custom"
#define DRV_DESC "Custom GPIO-based I2C driver"
-#define DRV_VERSION "0.1.1"
+#define DRV_VERSION "0.1.2"
#define PFX DRV_NAME ": "
@@ -96,7 +96,7 @@ static void i2c_gpio_custom_cleanup(void)
for (i = 0; i < nr_devices; i++)
if (devices[i])
- platform_device_put(devices[i]);
+ platform_device_unregister(devices[i]);
}
static int __init i2c_gpio_custom_add_one(unsigned int id, unsigned int *params)