Commit 9917b209 authored by Ravi Eluri's avatar Ravi Eluri Committed by Greg Kroah-Hartman
Browse files

staging: most: Fix identifiers to function parameters



fixed "function definition argument should have an identifier name",
with appropriate identifier names. Pointed out by checkpatch.

Signed-off-by: default avatarRavi Eluri <venkataravi.e@techveda.org>
Signed-off-by: default avatarSuniel Mahesh <sunil.m@techveda.org>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 37d641ef
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -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)
+2 −2
Original line number Diff line number Diff line
@@ -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)