mvsdio.c (314820c9e892d8f41ba4db300ec96770d9c8294b) | mvsdio.c (baffab28b13120694fa3ebab08d3e99667a851d2) |
---|---|
1/* 2 * Marvell MMC/SD/SDIO driver 3 * 4 * Authors: Maen Suleiman, Nicolas Pitre 5 * Copyright (C) 2008-2009 Marvell Ltd. 6 * 7 * This program is free software; you can redistribute it and/or modify 8 * it under the terms of the GNU General Public License version 2 as --- 825 unchanged lines hidden (view full) --- 834 if (host->gpio_write_protect) 835 gpio_free(host->gpio_write_protect); 836 if (host->base) 837 iounmap(host->base); 838 } 839 if (r) 840 release_resource(r); 841 if (mmc) | 1/* 2 * Marvell MMC/SD/SDIO driver 3 * 4 * Authors: Maen Suleiman, Nicolas Pitre 5 * Copyright (C) 2008-2009 Marvell Ltd. 6 * 7 * This program is free software; you can redistribute it and/or modify 8 * it under the terms of the GNU General Public License version 2 as --- 825 unchanged lines hidden (view full) --- 834 if (host->gpio_write_protect) 835 gpio_free(host->gpio_write_protect); 836 if (host->base) 837 iounmap(host->base); 838 } 839 if (r) 840 release_resource(r); 841 if (mmc) |
842 if (!IS_ERR_OR_NULL(host->clk)) { 843 clk_disable_unprepare(host->clk); 844 clk_put(host->clk); 845 } |
|
842 mmc_free_host(mmc); 843 844 return ret; 845} 846 847static int __exit mvsd_remove(struct platform_device *pdev) 848{ 849 struct mmc_host *mmc = platform_get_drvdata(pdev); --- 86 unchanged lines hidden --- | 846 mmc_free_host(mmc); 847 848 return ret; 849} 850 851static int __exit mvsd_remove(struct platform_device *pdev) 852{ 853 struct mmc_host *mmc = platform_get_drvdata(pdev); --- 86 unchanged lines hidden --- |