clk-npcm7xx.c (4f2c0a4acffbec01079c28f839422e64ddeff004) | clk-npcm7xx.c (db81fa4ab323b12290ad702445570af00504a5c3) |
---|---|
1// SPDX-License-Identifier: GPL-2.0 2/* 3 * Nuvoton NPCM7xx Clock Generator 4 * All the clocks are initialized by the bootloader, so this driver allow only 5 * reading of current settings directly from the hardware. 6 * 7 * Copyright (C) 2018 Nuvoton Technologies tali.perry@nuvoton.com 8 */ --- 496 unchanged lines hidden (view full) --- 505 if (ret) 506 pr_err("failed to add DT provider: %d\n", ret); 507 508 of_node_put(clk_np); 509 510 return; 511 512npcm7xx_init_fail: | 1// SPDX-License-Identifier: GPL-2.0 2/* 3 * Nuvoton NPCM7xx Clock Generator 4 * All the clocks are initialized by the bootloader, so this driver allow only 5 * reading of current settings directly from the hardware. 6 * 7 * Copyright (C) 2018 Nuvoton Technologies tali.perry@nuvoton.com 8 */ --- 496 unchanged lines hidden (view full) --- 505 if (ret) 506 pr_err("failed to add DT provider: %d\n", ret); 507 508 of_node_put(clk_np); 509 510 return; 511 512npcm7xx_init_fail: |
513 kfree(npcm7xx_clk_data->hws); | 513 kfree(npcm7xx_clk_data); |
514npcm7xx_init_np_err: 515 iounmap(clk_base); 516npcm7xx_init_error: 517 of_node_put(clk_np); 518} 519CLK_OF_DECLARE(npcm7xx_clk_init, "nuvoton,npcm750-clk", npcm7xx_clk_init); | 514npcm7xx_init_np_err: 515 iounmap(clk_base); 516npcm7xx_init_error: 517 of_node_put(clk_np); 518} 519CLK_OF_DECLARE(npcm7xx_clk_init, "nuvoton,npcm750-clk", npcm7xx_clk_init); |