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 <nfraprado@protonmail.com>
Link: https://lore.kernel.org/r/20200802223615.924307-1-nfraprado@protonmail.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
Nícolas F. R. A. Prado 2020-08-02 22:36:30 +00:00 committed by Greg Kroah-Hartman
parent 53ed326625
commit 5ad1713888
1 changed files with 3 additions and 3 deletions

View File

@ -100,12 +100,12 @@ struct dim2_hdm {
struct medialb_bus bus; struct medialb_bus bus;
void (*on_netinfo)(struct most_interface *most_iface, void (*on_netinfo)(struct most_interface *most_iface,
unsigned char link_state, unsigned char *addrs); unsigned char link_state, unsigned char *addrs);
void (*disable_platform)(struct platform_device *); void (*disable_platform)(struct platform_device *pdev);
}; };
struct dim2_platform_data { struct dim2_platform_data {
int (*enable)(struct platform_device *); int (*enable)(struct platform_device *pdev);
void (*disable)(struct platform_device *); void (*disable)(struct platform_device *pdev);
}; };
#define iface_to_hdm(iface) container_of(iface, struct dim2_hdm, most_iface) #define iface_to_hdm(iface) container_of(iface, struct dim2_hdm, most_iface)