uart: update the sysfs handler to use uart_get_info
authorAlan Cox <alan@linux.intel.com>
Mon, 29 Oct 2012 15:19:57 +0000 (15:19 +0000)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 30 Oct 2012 21:05:31 +0000 (14:05 -0700)
commitbebe73e31d98845c8b63e624c25a5da2d819345a
treeea5908162dbb231f1f6e11e6bbddbd5278d55e10
parent15a12e83da812e9116577d46b048923587da5000
uart: update the sysfs handler to use uart_get_info

The two patches needed are now in the tree. The first added the sysfs
interface and directly accesses the uartclk. The second provides a
proper interface for getting the values.

Wire them together.

This formes a basis for both get and set methods for any of the other uart
properties and we can now fill them out further.

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