]> git.dujemihanovic.xyz Git - u-boot.git/commit
mmc: Use logging instead of pr_err()
authorSimon Glass <sjg@chromium.org>
Thu, 22 Aug 2024 13:54:55 +0000 (07:54 -0600)
committerTom Rini <trini@konsulko.com>
Fri, 23 Aug 2024 21:58:41 +0000 (15:58 -0600)
commit99b23d45cb7f028067a77845e46cb09801e1b9e1
tree6ed0cfc2e14c7a5b0387324319e06961b1482165
parent3aa8c443b22cab7f943eddb20aac46ff96214339
mmc: Use logging instead of pr_err()

Use the log subsystem instead of dev, to avoid including function names
in the code.

The CONFIG_LOGF_FUNC option can be used to enable the function name.

Update 'enhanced size' to use hex since this is the U-Boot default and
more natural for the large numbers involved.

Signed-off-by: Simon Glass <sjg@chromium.org>
Reviewed-by: Sean Anderson <seanga2@gmail.com>
Reviewed-by: Quentin Schulz <quentin.schulz@cherry.de>
drivers/mmc/mmc.c