summaryrefslogtreecommitdiff
path: root/drivers/soundwire/amd_init.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/soundwire/amd_init.c')
-rw-r--r--drivers/soundwire/amd_init.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/soundwire/amd_init.c b/drivers/soundwire/amd_init.c
index e71cc23523e1..7db37f044850 100644
--- a/drivers/soundwire/amd_init.c
+++ b/drivers/soundwire/amd_init.c
@@ -98,7 +98,7 @@ static struct sdw_amd_ctx *sdw_amd_probe_controller(struct sdw_amd_res *res)
* the parent .probe.
* If devm_ was used, the memory might never be freed on errors.
*/
- ctx = kzalloc_obj(*ctx, GFP_KERNEL);
+ ctx = kzalloc_obj(*ctx);
if (!ctx)
return NULL;