diff options
author | Jean Delvare <khali@linux-fr.org> | 2006-03-27 11:17:26 +0200 |
---|---|---|
committer | Linus Torvalds <torvalds@g5.osdl.org> | 2006-03-27 18:44:55 +0200 |
commit | d03c21ec0be7787ff6b75dcf56c0e96209ccbfbd (patch) | |
tree | 6d067fc95498f89a297f6bd390c8191f57ab9aeb /drivers/video/Makefile | |
parent | [PATCH] matroxfb: simply return what i2c_add_driver() does (diff) | |
download | linux-d03c21ec0be7787ff6b75dcf56c0e96209ccbfbd.tar.xz linux-d03c21ec0be7787ff6b75dcf56c0e96209ccbfbd.zip |
[PATCH] matrox maven: memory allocation and other cleanups
A few cleanups which were done to almost all i2c drivers some times
ago, but matroxfb_maven was forgotten:
* Don't allocate two different structures at once.
* Use kzalloc instead of kmalloc+memset.
* Use strlcpy instead of strcpy.
* Drop duplicate error message on client deregistration failure.
Signed-off-by: Jean Delvare <khali@linux-fr.org>
Acked-by: Petr Vandrovec <vandrove@vc.cvut.cz>
Cc: "Antonino A. Daplas" <adaplas@pol.net>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'drivers/video/Makefile')
0 files changed, 0 insertions, 0 deletions