mirror of
git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2025-08-04 00:06:36 +00:00
mmc: sdhci-esdhc-imx: Use NULL instead of zero
Fix the following sparse warning: drivers/mmc/host/sdhci-esdhc-imx.c:617:35: warning: Using plain integer as NULL pointer Signed-off-by: Fabio Estevam <fabio.estevam@freescale.com> Cc: Shawn Guo <shawn.guo@linaro.org> Signed-off-by: Chris Ball <cjb@laptop.org>
This commit is contained in:
parent
63c211803a
commit
a50145f925
1 changed files with 1 additions and 1 deletions
|
@ -718,7 +718,7 @@ static void esdhc_request_done(struct mmc_request *mrq)
|
|||
static int esdhc_send_tuning_cmd(struct sdhci_host *host, u32 opcode)
|
||||
{
|
||||
struct mmc_command cmd = {0};
|
||||
struct mmc_request mrq = {0};
|
||||
struct mmc_request mrq = {NULL};
|
||||
struct mmc_data data = {0};
|
||||
struct scatterlist sg;
|
||||
char tuning_pattern[ESDHC_TUNING_BLOCK_PATTERN_LEN];
|
||||
|
|
Loading…
Add table
Reference in a new issue