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)
commitb892b054b12fc38e5077434c9c6146a7bd6f21a6
tree4fbe008e82ef16d4f044eff490bb9f03e4922d0c
parentae5070d627fa04f42fc8b29400e2d189eb8b6bd2
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