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>
This commit is contained in:
Родитель
e30e954031
Коммит
2147dd40df
|
@ -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;
|
||||
|
|
Загрузка…
Ссылка в новой задаче