clk: sunxi: Allow to specify the divider width from the dividers data
authorMaxime Ripard <maxime.ripard@free-electrons.com>
Tue, 23 Jul 2013 07:25:56 +0000 (09:25 +0200)
committerMaxime Ripard <maxime.ripard@free-electrons.com>
Mon, 26 Aug 2013 08:48:45 +0000 (10:48 +0200)
commit70855bb5c608e4ac9dde5b669c3cf56914b713a2
treec0c631e7d65531367c4f050e3fe86f38c4d9695f
parent81ba6c5e7b1c995083ccaab1c74ac9e0be6ef4d1
clk: sunxi: Allow to specify the divider width from the dividers data

The divider width used to be hardcoded. Some A31 dividers are no longer
with the hardcoded width, so we need to make it specific to each divider
and set it in the dividers data.

Signed-off-by: Maxime Ripard <maxime.ripard@free-electrons.com>
Reviewed-by: Emilio López <emilio@elopez.com.ar>
drivers/clk/sunxi/clk-sunxi.c