Home
last modified time | relevance | path

Searched hist:"9 f1096943a56c35cc85a0729ec759fd8a25e552f" (Results 1 – 1 of 1) sorted by relevance

/linux/drivers/tty/serial/
H A Dserial_core.cdiff 9f1096943a56c35cc85a0729ec759fd8a25e552f Mon Oct 29 16:20:25 CET 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>