staging: mt7621-mmc: Replace macro sdr_get_field with function
authorChristian Lütke-Stetzkamp <christian@lkamp.de>
Sun, 29 Apr 2018 17:32:24 +0000 (19:32 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 7 May 2018 02:08:05 +0000 (19:08 -0700)
commit8f1c27c98172dc5040782ec4b18715697aeb78e6
tree70f7c9ebb7d9ce4facb0751af6a419d64b119d4b
parentbffcc2e9234f6d7d8c6046250ac69348c0097eb3
staging: mt7621-mmc: Replace macro sdr_get_field with function

Currently sdr_get_field is a macro, to bring the code in line with the
upstream driver mtk-sd, it is changed to a function.

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