commit | a5fd844599d635baa7e527549dc10896944aad77 | [log] [tgz] |
---|---|---|
author | Sascha Hauer <s.hauer@pengutronix.de> | Mon Apr 27 08:49:55 2015 +0200 |
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | Wed May 06 22:27:02 2015 +0200 |
tree | fd91d682f7b17a5942930a8d7d381afa62fbddd3 | |
parent | 59f89f21b5f34b50584a218734d2b9cc1efd8c0c [diff] |
tty: serial: 8250_mtk: Use devm_clk_get When a struct device * is present clk_get should be used rather than of_clk_get. Use the devm variant of this function to be able to drop the clk_put in the error and remove pathes. While at it fix a wrong error message. Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>