File tree Expand file tree Collapse file tree 1 file changed +3
-4
lines changed Expand file tree Collapse file tree 1 file changed +3
-4
lines changed Original file line number Diff line number Diff line change @@ -40,7 +40,6 @@ struct raspberrypi_clk {
40
40
unsigned long max_rate ;
41
41
42
42
struct clk_hw pllb ;
43
- struct clk_hw * pllb_arm ;
44
43
struct clk_lookup * pllb_arm_lookup ;
45
44
};
46
45
@@ -246,12 +245,12 @@ static int raspberrypi_register_pllb_arm(struct raspberrypi_clk *rpi)
246
245
dev_err (rpi -> dev , "Failed to initialize pllb_arm\n" );
247
246
return ret ;
248
247
}
249
- rpi -> pllb_arm = & raspberrypi_clk_pllb_arm .hw ;
250
248
251
- rpi -> pllb_arm_lookup = clkdev_hw_create (rpi -> pllb_arm , NULL , "cpu0" );
249
+ rpi -> pllb_arm_lookup = clkdev_hw_create (& raspberrypi_clk_pllb_arm .hw ,
250
+ NULL , "cpu0" );
252
251
if (!rpi -> pllb_arm_lookup ) {
253
252
dev_err (rpi -> dev , "Failed to initialize pllb_arm_lookup\n" );
254
- clk_hw_unregister_fixed_factor (rpi -> pllb_arm );
253
+ clk_hw_unregister_fixed_factor (& raspberrypi_clk_pllb_arm . hw );
255
254
return - ENOMEM ;
256
255
}
257
256
You can’t perform that action at this time.
0 commit comments