From: Asif Talybov Date: Sun, 16 Aug 2020 03:31:09 +0000 (+0700) Subject: staging: greybus: Add identifier name to function definition argument X-Git-Tag: v5.10.7~1420^2~225 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=2147dd40dfd9800bc5d165a79a1b6d63f5697a1f;p=platform%2Fkernel%2Flinux-rpi.git 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 Link: https://lore.kernel.org/r/20200816033109.3930-1-talybov.asif@yandex.ru Signed-off-by: Greg Kroah-Hartman --- diff --git a/drivers/staging/greybus/gbphy.h b/drivers/staging/greybus/gbphy.h index 087928a..d4a225b 100644 --- a/drivers/staging/greybus/gbphy.h +++ b/drivers/staging/greybus/gbphy.h @@ -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;