1
linux/drivers/mmc
Chris Ball a61ad2b49b mmc: initialize struct mmc_data at declaration time
Converts from:
	struct mmc_data data;
	memset(&data, 0, sizeof(struct mmc_data));

to:
	struct mmc_data data = {0};

because it's shorter, as performant, and easier to work out whether
initialization has happened.

Signed-off-by: Chris Ball <cjb@laptop.org>
2011-05-24 21:01:56 -04:00
..
card mmc: initialize struct mmc_data at declaration time 2011-05-24 21:01:56 -04:00
core mmc: initialize struct mmc_data at declaration time 2011-05-24 21:01:56 -04:00
host mmc: sdhci: work around broken dma boundary behavior 2011-05-24 21:01:29 -04:00
Kconfig
Makefile mmc: Makefile: Fix EXTRA_CFLAGS assignment 2010-10-23 21:11:15 +08:00