commit | 915be485bdf24f2261b4dc776625c930e1491d7a | [log] [tgz] |
---|---|---|
author | Dong Aisheng <aisheng.dong@freescale.com> | Wed May 27 18:13:26 2015 +0800 |
committer | Ulf Hansson <ulf.hansson@linaro.org> | Mon Jun 01 09:07:15 2015 +0200 |
tree | b924f8c1585a9d0f85f8bcb22e494e92fd3e2303 | |
parent | b69587e2d5b09a192c45c604ea1f9e8d51f4c3a1 [diff] |
mmc: sdhci-esdhc-imx: merge the same register check into one place In esdhc_writel_le() function, there's duplicated checking of the same register as follows: "if (unlikely(reg == SDHCI_INT_ENABLE || reg == SDHCI_SIGNAL_ENABLE))". Merge them into one and remove the duplicated one. Signed-off-by: Dong Aisheng <aisheng.dong@freescale.com> Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>