summaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/tiny/appletbdrm.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/gpu/drm/tiny/appletbdrm.c')
-rw-r--r--drivers/gpu/drm/tiny/appletbdrm.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/gpu/drm/tiny/appletbdrm.c b/drivers/gpu/drm/tiny/appletbdrm.c
index 0b0c058e9013..3bae91d7eefe 100644
--- a/drivers/gpu/drm/tiny/appletbdrm.c
+++ b/drivers/gpu/drm/tiny/appletbdrm.c
@@ -358,8 +358,7 @@ static int appletbdrm_primary_plane_helper_atomic_check(struct drm_plane *plane,
if (!appletbdrm_state->request)
return -ENOMEM;
- appletbdrm_state->response = kzalloc_obj(*appletbdrm_state->response,
- GFP_KERNEL);
+ appletbdrm_state->response = kzalloc_obj(*appletbdrm_state->response);
if (!appletbdrm_state->response)
return -ENOMEM;