]> git.dujemihanovic.xyz Git - u-boot.git/commit
mmc: ca_dw_mmc: Misc cleanup of driver
authorArthur Li <arthur.li@cortina-access.com>
Fri, 22 May 2020 00:24:22 +0000 (17:24 -0700)
committerPeng Fan <peng.fan@nxp.com>
Mon, 15 Jun 2020 01:45:22 +0000 (09:45 +0800)
commitdbd8a8dfe7fa03300bd8d56b1d1e87d1089550b5
treeba90688430fcfff2eeb40b64818c3fa967989124
parentc927d65873c7706f436ab59a78d44a0eb80fe939
mmc: ca_dw_mmc: Misc cleanup of driver

- Rename DT compatible name
- Remove uneccessary if-statement to support 8-bit buswidth
- Remove redundant error msg
- Use symbolic constants in switch statement

Signed-off-by: Arthur Li <arthur.li@cortina-access.com>
Signed-off-by: Alex Nemirovsky <alex.nemirovsky@cortina-access.com>
CC: Peng Fan <peng.fan@nxp.com>
CC: Jaehoon Chung <jh80.chung@samsung.com>
CC: Tom Rini <trini@konsulko.com>
drivers/mmc/ca_dw_mmc.c