serial: sh: Use the clock framework to obtain clock config
authorMarek Vasut <[email protected]>
Fri, 21 Jul 2017 21:19:18 +0000 (23:19 +0200)
committerNobuhiro Iwamatsu <[email protected]>
Wed, 2 Aug 2017 19:26:25 +0000 (04:26 +0900)
commit8171499df99884e770430346698d7045c777a46b
tree971cd374626c2799cc12c91c2aa6114ce8c16584
parent03a38a397248529b01908eaed24f9262545ca9b5
serial: sh: Use the clock framework to obtain clock config

Since we now have clock driver on the RCar Gen3 , obtain the clock
configuration using the clock framework functions. In case this
fails, fall back to the original code for pulling the clock config
directly out of OF.

Signed-off-by: Marek Vasut <[email protected]>
Cc: Nobuhiro Iwamatsu <[email protected]>
Signed-off-by: Nobuhiro Iwamatsu <[email protected]>
drivers/serial/serial_sh.c