From: NĂ­colas F. R. A. Prado Date: Sun, 2 Aug 2020 22:36:30 +0000 (+0000) Subject: staging: most: dim2: Add missing identifier name to function argument X-Git-Tag: v5.10.7~1420^2~228 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=5ad1713888d7ff0daf3b584659e17ad3ebbf573a;p=platform%2Fkernel%2Flinux-rpi.git staging: most: dim2: Add missing identifier name to function argument A function definition argument should have an identifier name according to checkpatch: WARNING: function definition argument 'struct platform_device *' should also have an identifier name Name it pdev as that name is already used throughout the code. Signed-off-by: NĂ­colas F. R. A. Prado Link: https://lore.kernel.org/r/20200802223615.924307-1-nfraprado@protonmail.com Signed-off-by: Greg Kroah-Hartman --- diff --git a/drivers/staging/most/dim2/dim2.c b/drivers/staging/most/dim2/dim2.c index 509c801..b34e3c1 100644 --- a/drivers/staging/most/dim2/dim2.c +++ b/drivers/staging/most/dim2/dim2.c @@ -100,12 +100,12 @@ struct dim2_hdm { struct medialb_bus bus; void (*on_netinfo)(struct most_interface *most_iface, unsigned char link_state, unsigned char *addrs); - void (*disable_platform)(struct platform_device *); + void (*disable_platform)(struct platform_device *pdev); }; struct dim2_platform_data { - int (*enable)(struct platform_device *); - void (*disable)(struct platform_device *); + int (*enable)(struct platform_device *pdev); + void (*disable)(struct platform_device *pdev); }; #define iface_to_hdm(iface) container_of(iface, struct dim2_hdm, most_iface)