clk: meson: use the frac parameter width instead of a constant
authorJerome Brunet <jbrunet@baylibre.com>
Fri, 19 Jan 2018 15:55:24 +0000 (16:55 +0100)
committerJerome Brunet <jbrunet@baylibre.com>
Mon, 12 Feb 2018 08:49:23 +0000 (09:49 +0100)
commit4c5f67b7ea329ed8b3cf708fde4656b2d3b27dbf
treef989beea1abae68e375ccfe0a141290cdb5f55b3
parent94aa8a41f1bc807db78567e7031d75998c166150
clk: meson: use the frac parameter width instead of a constant

Use the fractional part width in the calculation instead of 12, which
happens to be the witdh right now. This is safer in case the field width
ever change in the future

Signed-off-by: Jerome Brunet <jbrunet@baylibre.com>
drivers/clk/meson/clk-pll.c