> I used class_find_device finding the device with matching minor. Will it be > acceptable, if I just move this code into tty_* file and export it as > to modules? Yes - create a proper tty helper function for doing the job and document what it does. That way if the tty layer is changed it is obvious that this code also needs considering. Alan -- To unsubscribe from this list: send the line "unsubscribe linux-wireless" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html