Re: [PATCH 1/1] USB-SERIAL : Changing usb_serial_generic_open prototype

2015-06-02 Thread Abhishek bist
, which is definitely not recommended. Anyways i got your point . Thanks Abhishek-bist On 1 June 2015 at 20:00, Johan Hovold jo...@kernel.org wrote: On Sat, May 30, 2015 at 06:47:20PM +0530, Abhishek Bist wrote: While designing a usb to uart converter driver open function I am using

[PATCH 1/1] USB-SERIAL : Changing usb_serial_generic_open prototype

2015-05-30 Thread Abhishek Bist
which has struct tty_struct as a first argument. usb_serial_generic_open(struct tty_struct *tty, struct usb_serial_port *port); Signed-off-by: Abhishek Bist ishub...@gmail.com --- drivers/usb/serial/ark3116.c | 2 +- drivers/usb/serial/belkin_sa.c | 2 +- drivers/usb/serial

[PATCH 2/2] USB: hcd.h : Removed an unnecessary function prototype usb_find_interface_driver()

2015-05-27 Thread Abhishek Bist
. Signed-off-by: Abhishek Bist ishub...@gmail.com --- include/linux/usb/hcd.h | 2 -- 1 file changed, 2 deletions(-) diff --git a/include/linux/usb/hcd.h b/include/linux/usb/hcd.h index 68b1e83..c9aa779 100644 --- a/include/linux/usb/hcd.h +++ b/include/linux/usb/hcd.h @@ -622,8 +622,6 @@ extern struct

[PATCH] USB: hcd.h : Removed an unnecessary function prototype usb_find_interface_driver()

2015-05-27 Thread Abhishek Bist
This function is used to call in early version of linux kernel in order to find out the interface used by a usb device. But now it's use is completely abolished. So,it would be relevant to remove this obselete function from kernel mainline. Signed-off-by: Abhishek Bist ishub...@gmail.com