Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 47930
b: refs/heads/master
c: ddc1e97
h: refs/heads/master
v: v3
  • Loading branch information
Ben Dooks authored and Linus Torvalds committed Feb 12, 2007
1 parent 3e12013 commit f0a332c
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 5 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 14fd9b3f8a0a36e706d144efcd579805a99de594
refs/heads/master: ddc1e9753106cedcca7944d2b068baa2e14640b1
6 changes: 2 additions & 4 deletions trunk/include/linux/spi/spi.h
Original file line number Diff line number Diff line change
Expand Up @@ -148,13 +148,11 @@ extern int spi_register_driver(struct spi_driver *sdrv);

static inline void spi_unregister_driver(struct spi_driver *sdrv)
{
if (!sdrv)
return;
driver_unregister(&sdrv->driver);
if (sdrv)
driver_unregister(&sdrv->driver);
}



/**
* struct spi_master - interface to SPI master controller
* @cdev: class interface to this driver
Expand Down

0 comments on commit f0a332c

Please sign in to comment.