clk: lochnagar: Use new parent_data approach to register clock parents
authorCharles Keepax <ckeepax@opensource.cirrus.com>
Tue, 25 Jun 2019 13:10:53 +0000 (14:10 +0100)
committerStephen Boyd <sboyd@kernel.org>
Tue, 25 Jun 2019 23:29:03 +0000 (16:29 -0700)
commit055ca54777b72e4e3d1b1f4e76376b8428086c02
treee2084846d78a8a388e7d5b2ab641a87a9fddef77
parenta188339ca5a396acc588e5851ed7e19f66b0ebd9
clk: lochnagar: Use new parent_data approach to register clock parents

Switch over to the more modern style of registering parents and simplify
the code in the process.

Suggested-by: Stephen Boyd <sboyd@kernel.org>
Signed-off-by: Charles Keepax <ckeepax@opensource.cirrus.com>
Signed-off-by: Stephen Boyd <sboyd@kernel.org>
drivers/clk/clk-lochnagar.c