Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

mmc: sdhci-sprd: use sdhci_sprd_writew

The sdhci_sprd_writew() was defined by never used in sdhci_ops:

drivers/mmc/host/sdhci-sprd.c:134:20: warning: unused function 'sdhci_sprd_writew'

Reported-by: kernel test robot <lkp@intel.com>
Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@canonical.com>
Link: https://lore.kernel.org/r/20210601095403.236007-2-krzysztof.kozlowski@canonical.com
Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>

authored by

Krzysztof Kozlowski and committed by
Ulf Hansson
96147082 15dd8dc9

+1
+1
drivers/mmc/host/sdhci-sprd.c
··· 393 393 static struct sdhci_ops sdhci_sprd_ops = { 394 394 .read_l = sdhci_sprd_readl, 395 395 .write_l = sdhci_sprd_writel, 396 + .write_w = sdhci_sprd_writew, 396 397 .write_b = sdhci_sprd_writeb, 397 398 .set_clock = sdhci_sprd_set_clock, 398 399 .get_max_clock = sdhci_sprd_get_max_clock,