diff --git a/drivers/gpu/drm/panel/panel-maxim-max96772.c b/drivers/gpu/drm/panel/panel-maxim-max96772.c index 2e16d0337887..f0725ec2ccb6 100644 --- a/drivers/gpu/drm/panel/panel-maxim-max96772.c +++ b/drivers/gpu/drm/panel/panel-maxim-max96772.c @@ -19,7 +19,7 @@ #include #include -#include +#include #include #include @@ -489,13 +489,11 @@ static int max96772_panel_probe(struct i2c_client *client) return 0; } -static int max96772_panel_remove(struct i2c_client *client) +static void max96772_panel_remove(struct i2c_client *client) { struct max96772_panel *p = i2c_get_clientdata(client); drm_panel_remove(&p->panel); - - return 0; } static int boe_ae146m1t_l10_prepare(struct max96772_panel *p)