summaryrefslogtreecommitdiff
path: root/drivers/staging/greybus
diff options
context:
space:
mode:
authorAsif Talybov <talybov.asif@yandex.ru>2020-08-16 06:31:09 +0300
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2020-08-18 17:07:17 +0300
commit2147dd40dfd9800bc5d165a79a1b6d63f5697a1f (patch)
treeee0b121b63b9a1dec6506edaba9fc0a710ef8ae0 /drivers/staging/greybus
parente30e954031957db76d598162a0f0cd4611a1bb96 (diff)
downloadlinux-2147dd40dfd9800bc5d165a79a1b6d63f5697a1f.tar.xz
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>
Diffstat (limited to 'drivers/staging/greybus')
-rw-r--r--drivers/staging/greybus/gbphy.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/staging/greybus/gbphy.h b/drivers/staging/greybus/gbphy.h
index 087928a586fb..d4a225b76338 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;