diff options
author | Adriano dos Santos Fernandes <adrianosf@uol.com.br> | 2009-06-17 16:27:48 -0700 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2009-06-18 13:03:54 -0700 |
commit | d6f47befdd7483cd1e14a7ae76ef22f7f9722c90 (patch) | |
tree | 77ea51c4a4ffc513d8d5a3a6f09f66234eea85ea /Makefile | |
parent | 31a985fbb18c1600955124a1efd2343efa867549 (diff) | |
download | op-kernel-dev-d6f47befdd7483cd1e14a7ae76ef22f7f9722c90.zip op-kernel-dev-d6f47befdd7483cd1e14a7ae76ef22f7f9722c90.tar.gz |
drivers/char/mem.c: memory_open() cleanup: lookup minor device number from devlist
memory_open() ignores devlist and does a switch for each item, duplicating
code and conditional definitions.
Clean it up by adding backing_dev_info to devlist and use it to lookup for
the minor device.
[akpm@linux-foundation.org: coding-style fixes]
Signed-off-by: Adriano dos Santos Fernandes <adrianosf@uol.com.br>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'Makefile')
0 files changed, 0 insertions, 0 deletions