OSDN Git Service

ASoC: cs35l32: Remove unneeded regulator_bulk_free call in cs35l32_i2c_remove
[uclinux-h8/linux.git] / sound / soc / codecs / cs35l32.c
index ca897c4..b32d7a9 100644 (file)
@@ -562,8 +562,6 @@ static int cs35l32_i2c_remove(struct i2c_client *i2c_client)
        if (cs35l32->reset_gpio)
                gpiod_set_value_cansleep(cs35l32->reset_gpio, 0);
 
-       regulator_bulk_free(ARRAY_SIZE(cs35l32->supplies), cs35l32->supplies);
-
        return 0;
 }