OSDN Git Service

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)
commit8fbcf12087ef17490e3c59dcf53db9bccb5e81ba
tree76f76328c022d95fad6bb0257f3828514e524d8d
parent09cb808cfdf3aaf129d8a01e43b281e8d6dcc30e
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