]> git.baikalelectronics.ru Git - kernel.git/commit
staging: mt7621-mmc: Replace sdr_write32 with writel
authorChristian Lütke-Stetzkamp <christian@lkamp.de>
Sat, 16 Jun 2018 14:14:42 +0000 (16:14 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 28 Jun 2018 12:48:03 +0000 (21:48 +0900)
commit48b92e4218b8e494c06823ebe9eedeae8bf6bbd2
tree76f76328c022d95fad6bb0257f3828514e524d8d
parent57b26140075b6379e46cd510a315243245996e6c
staging: mt7621-mmc: Replace sdr_write32 with writel

The current code uses a macro (sdr_write32) for writing to hardware,
but it is only a writel with switched arguments, so replace it to get
nearer to upstream code.

Signed-off-by: Christian Lütke-Stetzkamp <christian@lkamp.de>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/mt7621-mmc/mt6575_sd.h
drivers/staging/mt7621-mmc/sd.c