clk-wm831x.c (018ae93fbc6cb2c843bb899bce05328c393b373d) | clk-wm831x.c (1fc7ad5d393df9e69c0cfcb01b2d803dd2021277) |
---|---|
1/* 2 * WM831x clock control 3 * 4 * Copyright 2011-2 Wolfson Microelectronics PLC. 5 * 6 * Author: Mark Brown <broonie@opensource.wolfsonmicro.com> 7 * 8 * This program is free software; you can redistribute it and/or modify it --- 385 unchanged lines hidden (view full) --- 394 395err_fll: 396 clk_unregister(clkdata->fll); 397err_xtal: 398 clk_unregister(clkdata->xtal); 399 return ret; 400} 401 | 1/* 2 * WM831x clock control 3 * 4 * Copyright 2011-2 Wolfson Microelectronics PLC. 5 * 6 * Author: Mark Brown <broonie@opensource.wolfsonmicro.com> 7 * 8 * This program is free software; you can redistribute it and/or modify it --- 385 unchanged lines hidden (view full) --- 394 395err_fll: 396 clk_unregister(clkdata->fll); 397err_xtal: 398 clk_unregister(clkdata->xtal); 399 return ret; 400} 401 |
402static int __devexit wm831x_clk_remove(struct platform_device *pdev) | 402static int wm831x_clk_remove(struct platform_device *pdev) |
403{ 404 struct wm831x_clk *clkdata = dev_get_drvdata(&pdev->dev); 405 406 clk_unregister(clkdata->clkout); 407 clk_unregister(clkdata->fll); 408 clk_unregister(clkdata->xtal); 409 410 return 0; --- 18 unchanged lines hidden --- | 403{ 404 struct wm831x_clk *clkdata = dev_get_drvdata(&pdev->dev); 405 406 clk_unregister(clkdata->clkout); 407 clk_unregister(clkdata->fll); 408 clk_unregister(clkdata->xtal); 409 410 return 0; --- 18 unchanged lines hidden --- |