Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

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: Asif Talybov <talybov.asif@yandex.ru>
Link: https://lore.kernel.org/r/20200816033109.3930-1-talybov.asif@yandex.ru
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>

authored by

Asif Talybov and committed by
Greg Kroah-Hartman
2147dd40 e30e9540

+2 -2
+2 -2
drivers/staging/greybus/gbphy.h
··· 36 36 37 37 struct gbphy_driver { 38 38 const char *name; 39 - int (*probe)(struct gbphy_device *, 39 + int (*probe)(struct gbphy_device *device, 40 40 const struct gbphy_device_id *id); 41 - void (*remove)(struct gbphy_device *); 41 + void (*remove)(struct gbphy_device *device); 42 42 const struct gbphy_device_id *id_table; 43 43 44 44 struct device_driver driver;