Commit 2147dd40 authored by Asif Talybov's avatar Asif Talybov Committed by Greg Kroah-Hartman
Browse files

staging: greybus: Add identifier name to function definition argument



WARNING: function definition argument 'struct gbphy_device *' should also
have an identifier name
+       int (*probe)(struct gbphy_device *,

WARNING: function definition argument 'struct gbphy_device *' should also
have an identifier name
+       void (*remove)(struct gbphy_device *);

Signed-off-by: default avatarAsif Talybov <talybov.asif@yandex.ru>
Link: https://lore.kernel.org/r/20200816033109.3930-1-talybov.asif@yandex.ru


Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent e30e9540
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -36,9 +36,9 @@ struct gbphy_device_id {

struct gbphy_driver {
	const char *name;
	int (*probe)(struct gbphy_device *,
	int (*probe)(struct gbphy_device *device,
		     const struct gbphy_device_id *id);
	void (*remove)(struct gbphy_device *);
	void (*remove)(struct gbphy_device *device);
	const struct gbphy_device_id *id_table;

	struct device_driver driver;