]> git.baikalelectronics.ru Git - uboot.git/commit
clk: at91: Fix at91-pmc and at91-sckc's class ID
authorWenyou Yang <wenyou.yang@atmel.com>
Tue, 13 Sep 2016 02:25:55 +0000 (10:25 +0800)
committerAndreas Bießmann <andreas@biessmann.org>
Fri, 28 Oct 2016 16:37:14 +0000 (18:37 +0200)
commit914acce57f22c336d0425c5649dc5d6a948b6bd5
tree4fbe008e82ef16d4f044eff490bb9f03e4922d0c
parent763818e5b40dcc4fffe8f9584a0b25d89c9a30c6
clk: at91: Fix at91-pmc and at91-sckc's class ID

The at91-pmc and at91-sckc aren't the clock providers, change their
class ID from UCLASS_CLK to UCLASS_SIMPLE_BUS, they also don't
need to bind the child nodes explicitly, the .post_bind callback
of simple_bus uclass will do it for them.

Signed-off-by: Wenyou Yang <wenyou.yang@atmel.com>
Acked-by: Stephen Warren <swarren@nvidia.com>
Reviewed-by: Simon Glass <sjg@chromium.org>
drivers/clk/at91/pmc.c
drivers/clk/at91/sckc.c