static int wm8994_i2c_remove(struct i2c_client *i2c) { struct wm8994 *wm8994 = i2c_get_clientdata(i2c); wm8994_device_exit(wm8994); return 0; }
static int wm8994_i2c_remove(struct i2c_client *i2c) { struct wm8994 *wm8994 = i2c_get_clientdata(i2c); #if defined(CONFIG_ARCH_TEGRA) tegra_gpio_disable(GPIO_WM8994_LDO_EN); gpio_free(GPIO_WM8994_LDO_EN); #endif /* defined(CONFIG_ARCH_TEGRA) */ wm8994_device_exit(wm8994); return 0; }