staging: most: Fix identifiers to function parameters
authorRavi Eluri <venkataravi.e@techveda.org>
Fri, 22 Dec 2017 10:09:02 +0000 (15:39 +0530)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 8 Jan 2018 15:34:25 +0000 (16:34 +0100)
fixed "function definition argument should have an identifier name",
with appropriate identifier names. Pointed out by checkpatch.

Signed-off-by: Ravi Eluri <venkataravi.e@techveda.org>
Signed-off-by: Suniel Mahesh <sunil.m@techveda.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/most/dim2/dim2.c
drivers/staging/most/usb/usb.c

index 2bd40abbc8c6a7057c9b5a7ff1490dd505043338..21e3fb48bdb4a64b0af365bb6f5bade7f67c208d 100644 (file)
@@ -101,8 +101,8 @@ struct dim2_hdm {
        unsigned char link_state;
        int atx_idx;
        struct medialb_bus bus;
-       void (*on_netinfo)(struct most_interface *,
-                          unsigned char, unsigned char *);
+       void (*on_netinfo)(struct most_interface *most_iface,
+                          unsigned char link_state, unsigned char *addrs);
 };
 
 #define iface_to_hdm(iface) container_of(iface, struct dim2_hdm, most_iface)
index 8d23075ae165be317fdc7fa8d45453f0f2bba79c..31f184cfcd694cb86c653b3b4ac9296636326d88 100644 (file)
@@ -117,8 +117,8 @@ struct most_dev {
        struct mutex io_mutex;
        struct timer_list link_stat_timer;
        struct work_struct poll_work_obj;
-       void (*on_netinfo)(struct most_interface *, unsigned char,
-                          unsigned char *);
+       void (*on_netinfo)(struct most_interface *most_iface,
+                          unsigned char link_state, unsigned char *addrs);
 };
 
 #define to_mdev(d) container_of(d, struct most_dev, iface)