提交 0a4c1d7d 编写于 作者: J Jean-Hugues Deschenes 提交者: Grant Likely

spi/dw_spi: mmio code style fixups

Minor code style cleanups following comments by Wolfram Sang
Signed-off-by: NJean-Hugues Deschenes <jean-hugues.deschenes@octasic.com>
Signed-off-by: NGrant Likely <grant.likely@secretlab.ca>
上级 f7b6fd6d
......@@ -17,8 +17,8 @@
#define DRIVER_NAME "dw_spi_mmio"
struct dw_spi_mmio {
struct dw_spi dws;
struct clk *clk;
struct dw_spi dws;
struct clk *clk;
};
static int __devinit dw_spi_mmio_probe(struct platform_device *pdev)
......@@ -134,13 +134,12 @@ static int __init dw_spi_mmio_init(void)
{
return platform_driver_probe(&dw_spi_mmio_driver, dw_spi_mmio_probe);
}
module_init(dw_spi_mmio_init);
static void __exit dw_spi_mmio_exit(void)
{
platform_driver_unregister(&dw_spi_mmio_driver);
}
module_init(dw_spi_mmio_init);
module_exit(dw_spi_mmio_exit);
MODULE_AUTHOR("Jean-Hugues Deschenes <jean-hugues.deschenes@octasic.com>");
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册