clk-max77686.c (018ae93fbc6cb2c843bb899bce05328c393b373d) | clk-max77686.c (1fc7ad5d393df9e69c0cfcb01b2d803dd2021277) |
---|---|
1/* 2 * clk-max77686.c - Clock driver for Maxim 77686 3 * 4 * Copyright (C) 2012 Samsung Electornics 5 * Jonghwa Lee <jonghwa3.lee@samsung.com> 6 * 7 * This program is free software; you can redistribute it and/or modify it 8 * under the terms of the GNU General Public License as published by the --- 185 unchanged lines hidden (view full) --- 194err_clk_cp: 195 clkdev_drop(max77686_clks[MAX77686_CLK_AP]->lookup); 196 kfree(max77686_clks[MAX77686_CLK_AP]->hw.clk); 197err_clk_ap: 198out: 199 return ret; 200} 201 | 1/* 2 * clk-max77686.c - Clock driver for Maxim 77686 3 * 4 * Copyright (C) 2012 Samsung Electornics 5 * Jonghwa Lee <jonghwa3.lee@samsung.com> 6 * 7 * This program is free software; you can redistribute it and/or modify it 8 * under the terms of the GNU General Public License as published by the --- 185 unchanged lines hidden (view full) --- 194err_clk_cp: 195 clkdev_drop(max77686_clks[MAX77686_CLK_AP]->lookup); 196 kfree(max77686_clks[MAX77686_CLK_AP]->hw.clk); 197err_clk_ap: 198out: 199 return ret; 200} 201 |
202static int __devexit max77686_clk_remove(struct platform_device *pdev) | 202static int max77686_clk_remove(struct platform_device *pdev) |
203{ 204 struct max77686_clk **max77686_clks = platform_get_drvdata(pdev); 205 int i; 206 207 for (i = 0; i < MAX77686_CLKS_NUM; i++) { 208 clkdev_drop(max77686_clks[i]->lookup); 209 kfree(max77686_clks[i]->hw.clk); 210 } --- 34 unchanged lines hidden --- | 203{ 204 struct max77686_clk **max77686_clks = platform_get_drvdata(pdev); 205 int i; 206 207 for (i = 0; i < MAX77686_CLKS_NUM; i++) { 208 clkdev_drop(max77686_clks[i]->lookup); 209 kfree(max77686_clks[i]->hw.clk); 210 } --- 34 unchanged lines hidden --- |