aboutsummaryrefslogtreecommitdiff
path: root/Documentation/ABI/testing/sysfs-tty
diff options
context:
space:
mode:
authorAlan Cox <alan@linux.intel.com>2012-10-29 15:20:25 +0000
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2012-10-30 14:05:31 -0700
commit9f1096943a56c35cc85a0729ec759fd8a25e552f (patch)
tree2fa71b3897b548c4409ec6f07ab1dcce60b707dc /Documentation/ABI/testing/sysfs-tty
parentbebe73e31d98845c8b63e624c25a5da2d819345a (diff)
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>
Diffstat (limited to 'Documentation/ABI/testing/sysfs-tty')
0 files changed, 0 insertions, 0 deletions