summaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/bridge/cros-ec-anx7688.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/gpu/drm/bridge/cros-ec-anx7688.c')
-rw-r--r--drivers/gpu/drm/bridge/cros-ec-anx7688.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/drivers/gpu/drm/bridge/cros-ec-anx7688.c b/drivers/gpu/drm/bridge/cros-ec-anx7688.c
index 0f6d907432e3..fa91bdeddef0 100644
--- a/drivers/gpu/drm/bridge/cros-ec-anx7688.c
+++ b/drivers/gpu/drm/bridge/cros-ec-anx7688.c
@@ -159,13 +159,11 @@ static int cros_ec_anx7688_bridge_probe(struct i2c_client *client)
return 0;
}
-static int cros_ec_anx7688_bridge_remove(struct i2c_client *client)
+static void cros_ec_anx7688_bridge_remove(struct i2c_client *client)
{
struct cros_ec_anx7688 *anx7688 = i2c_get_clientdata(client);
drm_bridge_remove(&anx7688->bridge);
-
- return 0;
}
static const struct of_device_id cros_ec_anx7688_bridge_match_table[] = {