Skip to content

Commit 00ef858

Browse files
author
Mika Penttilä
committed
Partial revert of "i2c: Make remove callback return void"
NOTE: This commit does not compile due to missing RHEL-specific fix-ups, which are split out into separate Git commits following this one. If git bisect selected this commit, run "git bisect skip" and try again. Repeat this until it selects a commit which compiles. Partial revert of: ed5c2f5 Author: Uwe Kleine-König <u.kleine-koenig@pengutronix.de> Date: Mon Aug 15 10:02:30 2022 +0200 i2c: Make remove callback return void This is needed for compile after DRM backport. Bugzilla: https://bugzilla.redhat.com/show_bug.cgi?id=2160457 Upstream Status: RHEL-only Signed-off-by: Mika Penttilä <mpenttil@redhat.com>
1 parent a6692ea commit 00ef858

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

drivers/gpu/drm/i2c/tda998x_drv.c

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2076,10 +2076,12 @@ tda998x_probe(struct i2c_client *client)
20762076
return ret;
20772077
}
20782078

2079-
static void tda998x_remove(struct i2c_client *client)
2079+
static int tda998x_remove(struct i2c_client *client)
20802080
{
20812081
component_del(&client->dev, &tda998x_ops);
20822082
tda998x_destroy(&client->dev);
2083+
2084+
return 0;
20832085
}
20842086

20852087
#ifdef CONFIG_OF

0 commit comments

Comments
 (0)