Searched hist:"9 f109694" (Results 1 – 1 of 1) sorted by relevance
/openbmc/linux/drivers/tty/serial/ |
H A D | serial_core.c | 9f109694 Mon Oct 29 10:20:25 CDT 2012 Alan Cox <alan@linux.intel.com> uart: tidy the uart_get_info API
We pass both port and state because the original caller had both to hand. With all the attribute callers this won't be true so do the conversion in the function itself.
The current callers all do lock/query/unlock. This won't be true for future set based cases but there are plenty of get ones that will exist so split the code with a helper for the future cases.
Signed-off-by: Alan Cox <alan@linux.intel.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org> 9f109694 Mon Oct 29 10:20:25 CDT 2012 Alan Cox <alan@linux.intel.com> uart: tidy the uart_get_info API We pass both port and state because the original caller had both to hand. With all the attribute callers this won't be true so do the conversion in the function itself. The current callers all do lock/query/unlock. This won't be true for future set based cases but there are plenty of get ones that will exist so split the code with a helper for the future cases. Signed-off-by: Alan Cox <alan@linux.intel.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
|