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

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.ruSigned-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent e30e9540
...@@ -36,9 +36,9 @@ struct gbphy_device_id { ...@@ -36,9 +36,9 @@ struct gbphy_device_id {
struct gbphy_driver { struct gbphy_driver {
const char *name; const char *name;
int (*probe)(struct gbphy_device *, int (*probe)(struct gbphy_device *device,
const struct gbphy_device_id *id); const struct gbphy_device_id *id);
void (*remove)(struct gbphy_device *); void (*remove)(struct gbphy_device *device);
const struct gbphy_device_id *id_table; const struct gbphy_device_id *id_table;
struct device_driver driver; struct device_driver driver;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment