diff options
author | Sascha Hauer <s.hauer@pengutronix.de> | 2015-04-27 08:49:56 +0200 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2015-05-06 22:27:02 +0200 |
commit | 68e5fc4a255a7f453b8d156b89d1e37a0ad61465 (patch) | |
tree | 982c06a2d300f869534034195e9f28fea13b8ab8 /Documentation/devicetree/bindings/serial/mtk-uart.txt | |
parent | a5fd844599d635baa7e527549dc10896944aad77 (diff) | |
download | lwn-68e5fc4a255a7f453b8d156b89d1e37a0ad61465.tar.gz lwn-68e5fc4a255a7f453b8d156b89d1e37a0ad61465.zip |
tty: serial: 8250_mtk: use pm_runtime callbacks for enabling
The pm_runtime callbacks already enable and disable the device.
Use them in probe() and remove() instead of duplicating the
code. This allows us to concentrate more code for enabling/disabling
the UART in a single place.
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'Documentation/devicetree/bindings/serial/mtk-uart.txt')
0 files changed, 0 insertions, 0 deletions