OSDN Git Service

tty: Split the serial_core helpers for setserial into two
authorAlan Cox <alan@linux.intel.com>
Tue, 4 Sep 2012 15:34:45 +0000 (16:34 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 5 Sep 2012 20:11:03 +0000 (13:11 -0700)
commit7ba2e769825fef035a943ed74d90379245508764
tree58583d882d6216a80b51d00a88a406864e10ad85
parent9250dd5738ca2f2728913fefc6573daf5b95efa4
tty: Split the serial_core helpers for setserial into two

We want them split so that we can call them from setserial functionality
where we copy to/from user space and do the locking, but also from sysfs
where in future we'll want to came them within a sysfs context.

Signed-off-by: Alan Cox <alan@linux.intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/tty/serial/serial_core.c