History log of /drivers/mtd/lpddr/qinfo_probe.c
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
2bfefa4c9632fb09bfe3277cf7b690818b147654 13-May-2010 Julia Lawall <julia@diku.dk> drivers/mtd: Use kzalloc

Use kzalloc rather than the combination of kmalloc and memset.

The semantic patch that makes this change is as follows:
(http://coccinelle.lip6.fr/)

// <smpl>
@@
expression x,size,flags;
statement S;
@@

-x = kmalloc(size,flags);
+x = kzalloc(size,flags);
if (x == NULL) S
-memset(x, 0, size);
// </smpl>

Signed-off-by: Julia Lawall <julia@diku.dk>
Signed-off-by: David Woodhouse <David.Woodhouse@intel.com>
/drivers/mtd/lpddr/qinfo_probe.c
8dc004395d5ebb028e4915645982e4434d2f4ef3 16-Dec-2008 Alexey Korolev <akorolev@infradead.org> [MTD] LPDDR qinfo probing.

LPDDR flash chips are based on completely new kind of chips probing.
Device capabilities are available via special request.
We sent field request command which contains Major and Minor numbers - and
recieve corresponend value.
All requests are performed within PFOW window.
Detailed information about qinfo records can be found here:
http://www.numonyx.com/Documents/Datasheets/DS-315768_Velocity-Discrete.pdf

Signed-off-by: Alexey Korolev <akorolev@infradead.org>
Acked-by: Jared Hulbert <jaredeh@gmail.com>
Signed-off-by: David Woodhouse <David.Woodhouse@intel.com>
/drivers/mtd/lpddr/qinfo_probe.c