summaryrefslogtreecommitdiff
path: root/drivers/soundwire/debugfs.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/soundwire/debugfs.c')
-rw-r--r--drivers/soundwire/debugfs.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/soundwire/debugfs.c b/drivers/soundwire/debugfs.c
index 0e9c48ca76e9..ccc9670ef77c 100644
--- a/drivers/soundwire/debugfs.c
+++ b/drivers/soundwire/debugfs.c
@@ -224,7 +224,7 @@ static int do_bpt_sequence(struct sdw_slave *slave, bool write, u8 *buffer)
struct sdw_bpt_msg msg = {0};
struct sdw_bpt_section *sec;
- sec = kzalloc_objs(*sec, 1, GFP_KERNEL);
+ sec = kzalloc_objs(*sec, 1);
if (!sec)
return -ENOMEM;
msg.sections = 1;