commit | 68e5fc4a255a7f453b8d156b89d1e37a0ad61465 | [log] [tgz] |
---|---|---|
author | Sascha Hauer <s.hauer@pengutronix.de> | Mon Apr 27 08:49:56 2015 +0200 |
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | Wed May 06 22:27:02 2015 +0200 |
tree | 982c06a2d300f869534034195e9f28fea13b8ab8 | |
parent | a5fd844599d635baa7e527549dc10896944aad77 [diff] |
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>