media: atomisp-mt9m114: adjust macro parameter name
Commit Message
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.
Signed-off-by: Julia Lawall <Julia.Lawall@inria.fr>
---
An alternative would be to make an inline function.
drivers/staging/media/atomisp/i2c/atomisp-mt9m114.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
@@ -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