Skip to content

Commit

Permalink
spi/dw_spi: mmio code style fixups
Browse files Browse the repository at this point in the history
Minor code style cleanups following comments by Wolfram Sang

Signed-off-by: Jean-Hugues Deschenes <jean-hugues.deschenes@octasic.com>
Signed-off-by: Grant Likely <grant.likely@secretlab.ca>
  • Loading branch information
Jean-Hugues Deschenes authored and Grant Likely committed Jan 21, 2010
1 parent f7b6fd6 commit 0a4c1d7
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions drivers/spi/dw_spi_mmio.c
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down Expand Up @@ -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>");
Expand Down

0 comments on commit 0a4c1d7

Please sign in to comment.