ramips: mmc: Sync with staging drivers
authorRosen Penev <rosenp@gmail.com>
Mon, 14 May 2018 18:14:21 +0000 (11:14 -0700)
committerJohn Crispin <john@phrozen.org>
Tue, 15 May 2018 04:44:48 +0000 (06:44 +0200)
commit2d401925b9bdf34de800fff57f593a3665de2a6a
treef3a8edd70afe6044fac02512e96b7506e1938e69
parent50913b77e46738547c10719d45f7ef11ab46b865
ramips: mmc: Sync with staging drivers

Mostly whitespace cleanups. Some unneeded code was removed.

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

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>
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