commit | a61ad2b49bfce94dfddce828cd9222e4b9e7825b | [log] [tgz] |
---|---|---|
author | Chris Ball <cjb@laptop.org> | Wed Apr 13 23:46:05 2011 -0400 |
committer | Chris Ball <cjb@laptop.org> | Tue May 24 21:01:56 2011 -0400 |
tree | 36f93e61adc7c7d7523c78c78c3df1e75fae5e33 | |
parent | 1278dba167f01bb3c6626d16450d31129d041087 [diff] |
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>