ramips: mmc: Sync with staging driver
authorRosen Penev <rosenp@gmail.com>
Wed, 16 May 2018 23:07:51 +0000 (16:07 -0700)
committerJohn Crispin <john@phrozen.org>
Fri, 18 May 2018 06:49:52 +0000 (08:49 +0200)
commitfec205f6544a60a635128ee93e99f2f3fdb8a4c2
tree9d661ec07cc28febcce91688a55ae695ce6e91b3
parent349fe46103359682692e6b175d22f8c05ff75f74
ramips: mmc: Sync with staging driver

Mostly whitespace cleanups. Some unneeded code was removed.

MMC init was also moved to the probe function as in
6069bdd

The cleanup commits are over 100, making it hard to do them individually.

Tested on GnuBee PC1 with an SD card being used as swap.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
v2: Fixed compile issue with mt7620
target/linux/ramips/files-4.14/drivers/mmc/host/mtk-mmc/board.h
target/linux/ramips/files-4.14/drivers/mmc/host/mtk-mmc/dbg.c
target/linux/ramips/files-4.14/drivers/mmc/host/mtk-mmc/dbg.h
target/linux/ramips/files-4.14/drivers/mmc/host/mtk-mmc/mt6575_sd.h
target/linux/ramips/files-4.14/drivers/mmc/host/mtk-mmc/sd.c