greybus: core: remove uevent handling for gb_connection
authorGreg Kroah-Hartman <gregkh@google.com>
Fri, 16 Oct 2015 23:53:46 +0000 (16:53 -0700)
committerGreg Kroah-Hartman <gregkh@google.com>
Mon, 19 Oct 2015 19:09:10 +0000 (12:09 -0700)
commitc69b98d15fff68e83396d800f43508a1dab4130a
treee6c40693e1934f14bc3783038abd8ff0f23af3b8
parent6ea462a4fc21b523dc139fdb920524f066633a35
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>
drivers/staging/greybus/core.c
drivers/staging/greybus/greybus.h