Commit 0a4c1d7d authored by Jean-Hugues Deschenes's avatar Jean-Hugues Deschenes Committed by Grant Likely

spi/dw_spi: mmio code style fixups

Minor code style cleanups following comments by Wolfram Sang
Signed-off-by: default avatarJean-Hugues Deschenes <jean-hugues.deschenes@octasic.com>
Signed-off-by: default avatarGrant Likely <grant.likely@secretlab.ca>
parent f7b6fd6d
......@@ -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%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment