Jason Hrycay f05a88a39c staging: greybus: add host device function pointer checks
Add sanity checks for cport_quiesce and cport_clear before invoking the
callbacks as these function pointers are not required during the host
device registration. This follows the logic implemented elsewhere for
various other function pointers.

Signed-off-by: Jason Hrycay <jhrycay@gmail.com>
Reviewed-by: Bryan O'Donoghue <pure.logic@nexus-software.ie>
Acked-by: Johan Hovold <johan@kernel.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2017-01-03 16:47:52 +01:00
..
2016-07-28 07:30:13 -07:00
2016-08-12 17:38:19 +02:00
2016-07-14 16:53:55 -05:00
2016-07-28 07:30:13 -07:00
2016-04-25 11:08:30 -07:00
2016-07-14 16:53:55 -05:00
2016-12-04 18:29:28 -05:00