OSDN Git Service

staging: mt7621-mmc: Replace sdr_read32 with readl
authorChristian Lütke-Stetzkamp <christian@lkamp.de>
Sat, 16 Jun 2018 14:14:43 +0000 (16:14 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 28 Jun 2018 12:48:03 +0000 (21:48 +0900)
commite988d35a6240252eaf802111d64e0a701d8dea13
tree32cdde4367e7d142a0031200d32f97687c1daf4b
parent8fbcf12087ef17490e3c59dcf53db9bccb5e81ba
staging: mt7621-mmc: Replace sdr_read32 with readl

The current code uses a macro (sdr_read32) for reading from hardware,
but it is only a readl, 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