diff options
| author | Ben Dooks <ben@fluff.org> | 2007-02-12 11:52:43 +0300 |
|---|---|---|
| committer | Linus Torvalds <torvalds@woody.linux-foundation.org> | 2007-02-12 20:48:31 +0300 |
| commit | ddc1e9753106cedcca7944d2b068baa2e14640b1 (patch) | |
| tree | 6482b83f8f8bf7b0bd017c8101b47492fcd5e3ba /include/linux/stringify.h | |
| parent | 14fd9b3f8a0a36e706d144efcd579805a99de594 (diff) | |
| download | linux-ddc1e9753106cedcca7944d2b068baa2e14640b1.tar.xz | |
[PATCH] spi: remove return in spi_unregister_driver()
Make the spi_unregister_driver() code fit in with the rest of the header
file, and only do the action if the driver passed is non-NULL.
This also makes the code a line smaller.
Signed-off-by: Ben Dooks <ben-linux@fluff.org>
Signed-off-by: David Brownell <dbrownell@users.sourceforge.net>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'include/linux/stringify.h')
0 files changed, 0 insertions, 0 deletions
