]> git.kernelconcepts.de Git - karo-tx-linux.git/blobdiff - drivers/tty/serial/vt8500_serial.c
20130319/tty
[karo-tx-linux.git] / drivers / tty / serial / vt8500_serial.c
index f15f53f18ca99e2b37ef41ffe32429aa3ea381fa..1a8bc2275ea4f190e9d994cb7e3786069f168a7e 100644 (file)
@@ -612,14 +612,7 @@ static int vt8500_serial_probe(struct platform_device *pdev)
        vt8500_port->uart.dev = &pdev->dev;
        vt8500_port->uart.flags = UPF_IOREMAP | UPF_BOOT_AUTOCONF;
 
-       vt8500_port->clk = of_clk_get(pdev->dev.of_node, 0);
-       if (!IS_ERR(vt8500_port->clk)) {
-               vt8500_port->uart.uartclk = clk_get_rate(vt8500_port->clk);
-       } else {
-               /* use the default of 24Mhz if not specified and warn */
-               pr_warn("%s: serial clock source not specified\n", __func__);
-               vt8500_port->uart.uartclk = 24000000;
-       }
+       vt8500_port->uart.uartclk = clk_get_rate(vt8500_port->clk);
 
        snprintf(vt8500_port->name, sizeof(vt8500_port->name),
                 "VT8500 UART%d", pdev->id);