Thread (8 messages) flat view 8 messages, 3 authors, 2012-06-07

[PATCH v6] MTD: LPC32xx SLC NAND driver

From: Roland Stigge <hidden>
Date: 2012-06-06 14:27:46
Also in: linux-devicetree, lkml

Hi,

On 06/06/2012 03:38 PM, Artem Bityutskiy wrote:
quoted
+#else +#define lpc32xx_nand_resume NULL +#define
lpc32xx_nand_suspend NULL +#endif
0, not NULL.
Can you please point me to an explanation for this? NULL sounds
natural here, since it is used as a pointer, and other nand drivers
are already doing it via NULL:

bcm_umi_nand.c
bf5xx_nand.c
pxa3xx_nand.c
r852.c
s3c2410.c
tmio_nand.c
txx9ndfmc.c

... and none is #defining as 0.

Thanks in advance,

Roland
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help