From 64060fe95458f22bac7327b2ee8dc5ce9e488d44 Mon Sep 17 00:00:00 2001 From: Viresh Kumar Date: Mon, 30 May 2016 11:31:53 +0530 Subject: greybus: gbphy: Remove protocol specific version handling We should be using the generic version handling at bundle level, instead of at protocol level for bridged PHY devices as well. The bundle version handling is already in place, though it is *not* used today as we haven't bumped the version of control protocol yet. Remove protocol specific handling for bridged PHY devices. Tested on EVT 1.5 with gpbridge-test module. No nuttx changes are required with this. Signed-off-by: Viresh Kumar Reviewed-by: Johan Hovold Signed-off-by: Greg Kroah-Hartman --- drivers/staging/greybus/uart.c | 4 ---- 1 file changed, 4 deletions(-) (limited to 'drivers/staging/greybus/uart.c') diff --git a/drivers/staging/greybus/uart.c b/drivers/staging/greybus/uart.c index a2fca3b3358e..d1611abf8ccd 100644 --- a/drivers/staging/greybus/uart.c +++ b/drivers/staging/greybus/uart.c @@ -904,10 +904,6 @@ static int gb_uart_probe(struct gbphy_device *gbphy_dev, if (retval) goto exit_release_minor; - retval = gb_gbphy_get_version(connection); - if (retval) - goto exit_connection_disable; - send_control(gb_tty, gb_tty->ctrlout); /* initialize the uart to be 9600n81 */ -- cgit v1.2.3