]> git.baikalelectronics.ru Git - uboot.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)
commit13176a5b29426e62c527d1b6e81f31ca1b683ae8
treeba90688430fcfff2eeb40b64818c3fa967989124
parent11898aa998360aa59d43b611a35110d24e0cb0f0
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