From: Dong Aisheng Date: Wed, 27 May 2015 10:13:26 +0000 (+0800) Subject: mmc: sdhci-esdhc-imx: merge the same register check into one place X-Git-Tag: omap-for-v4.2/fixes-rc1^2~161^2~24 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=915be485bdf24f2261b4dc776625c930e1491d7a;p=pandora-kernel.git 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 Signed-off-by: Ulf Hansson --- Reading git-diff-tree failed