summaryrefslogtreecommitdiff
path: root/sound/soc/codecs/wcd938x-sdw.c
diff options
context:
space:
mode:
Diffstat (limited to 'sound/soc/codecs/wcd938x-sdw.c')
-rw-r--r--sound/soc/codecs/wcd938x-sdw.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/sound/soc/codecs/wcd938x-sdw.c b/sound/soc/codecs/wcd938x-sdw.c
index 8c8f39d04972..0f0cc0ac3056 100644
--- a/sound/soc/codecs/wcd938x-sdw.c
+++ b/sound/soc/codecs/wcd938x-sdw.c
@@ -1217,13 +1217,11 @@ static int wcd9380_probe(struct sdw_slave *pdev,
return 0;
}
-static int wcd9380_remove(struct sdw_slave *pdev)
+static void wcd9380_remove(struct sdw_slave *pdev)
{
struct device *dev = &pdev->dev;
component_del(dev, &wcd_sdw_component_ops);
-
- return 0;
}
static const struct sdw_device_id wcd9380_slave_id[] = {