diff options
author | Greg Kroah-Hartman <gregkh@google.com> | 2015-10-16 16:53:46 -0700 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@google.com> | 2015-10-19 12:09:10 -0700 |
commit | c69b98d15fff68e83396d800f43508a1dab4130a (patch) | |
tree | e6c40693e1934f14bc3783038abd8ff0f23af3b8 /drivers/staging/greybus/greybus.h | |
parent | 6ea462a4fc21b523dc139fdb920524f066633a35 (diff) |
greybus: core: remove uevent handling for gb_connection
As we are going to be removing the struct device from gb_connection,
there is no need to do anything for uevents for them. So just remove
the code. It wasn't doing anything anyway, so no functionality is lost
here at all.
As is_gb_connection() is no longer used, that is also removed in this
patch.
Signed-off-by: Greg Kroah-Hartman <gregkh@google.com>
Reviewed-by: Viresh Kumar <viresh.kumar@linaro.org>
Reviewed-by: Alex Elder <elder@linaro.org>
Reviewed-by: Johan Hovold <johan@hovoldconsulting.com>
Diffstat (limited to 'drivers/staging/greybus/greybus.h')
-rw-r--r-- | drivers/staging/greybus/greybus.h | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/drivers/staging/greybus/greybus.h b/drivers/staging/greybus/greybus.h index ec4a73884b09..ae5975632c5e 100644 --- a/drivers/staging/greybus/greybus.h +++ b/drivers/staging/greybus/greybus.h @@ -189,11 +189,6 @@ static inline int is_gb_bundle(const struct device *dev) return dev->type == &greybus_bundle_type; } -static inline int is_gb_connection(const struct device *dev) -{ - return dev->type == &greybus_connection_type; -} - static inline bool cport_id_valid(struct greybus_host_device *hd, u16 cport_id) { return cport_id != CPORT_ID_BAD && cport_id < hd->num_cports; |