Commit 6c688cf3 authored by Julia Lawall's avatar Julia Lawall Committed by Mauro Carvalho Chehab

media: atomisp-mt9m114: adjust macro parameter name

The macro parameter name, sd, captures the field name in the third
argument of container_of.  Fortunately, the argument at all uses is
actually sd.  But change the macro parameter name anyway, for a little
added safety.

Link: https://lore.kernel.org/linux-media/20230315090904.20092-1-Julia.Lawall@inria.frSigned-off-by: default avatarJulia Lawall <Julia.Lawall@inria.fr>
Signed-off-by: default avatarMauro Carvalho Chehab <mchehab@kernel.org>
parent ce610aa5
......@@ -35,7 +35,7 @@
#include "mt9m114.h"
#define to_mt9m114_sensor(sd) container_of(sd, struct mt9m114_device, sd)
#define to_mt9m114_sensor(s) container_of(s, struct mt9m114_device, sd)
/*
* TODO: use debug parameter to actually define when debug messages should
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment