projects
/
GitHub
/
moto-9609
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c293738
)
zorro: Don't fill in dummy names in zorro_name_device()
author
Geert Uytterhoeven
<geert@linux-m68k.org>
Sun, 30 Jun 2013 11:01:26 +0000
(13:01 +0200)
committer
Geert Uytterhoeven
<geert@linux-m68k.org>
Tue, 26 Nov 2013 10:09:05 +0000
(11:09 +0100)
If the device is not found in the database, it's not needed to fill in
a dummy name. The caller of zorro_name_device() has already taken care
of that to support CONFIG_ZORRO_NAMES=n.
Signed-off-by: Geert Uytterhoeven <geert@linux-m68k.org>
drivers/zorro/names.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/zorro/names.c
b/drivers/zorro/names.c
index e8517c3d8e82df3d9b34f9049a29bdedd0a61b0e..e44e04c4f29d7788077313a277e0f44369d617f0 100644
(file)
--- a/
drivers/zorro/names.c
+++ b/
drivers/zorro/names.c
@@
-69,7
+69,6
@@
void __init zorro_name_device(struct zorro_dev *dev)
} while (--i);
/* Couldn't find either the manufacturer nor the product */
- sprintf(name, "Zorro device %08x", dev->id);
return;
match_manuf: {