u-boot/drivers/phy/marvell
Masahiro Yamada 9b643e312d treewide: replace with error() with pr_err()
U-Boot widely uses error() as a bit noisier variant of printf().

This macro causes name conflict with the following line in
include/linux/compiler-gcc.h:

  # define __compiletime_error(message) __attribute__((error(message)))

This prevents us from using __compiletime_error(), and makes it
difficult to fully sync BUILD_BUG macros with Linux.  (Notice
Linux's BUILD_BUG_ON_MSG is implemented by using compiletime_assert().)

Let's convert error() into now treewide-available pr_err().

Done with the help of Coccinelle, excluing tools/ directory.

The semantic patch I used is as follows:

// <smpl>
@@@@
-error
+pr_err
 (...)
// </smpl>

Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
Reviewed-by: Simon Glass <sjg@chromium.org>
[trini: Re-run Coccinelle]
Signed-off-by: Tom Rini <trini@konsulko.com>
2017-10-04 11:59:44 -04:00
..
comphy.h fix: phy: marvell: cp110: rename comphy_index to cp_index 2017-05-09 13:38:18 +02:00
comphy_a3700.c phy: comphy_a3700: Change SD/MMC compatible DT node to match the updates 2017-02-01 08:50:42 +01:00
comphy_a3700.h marvell: comphy_a3700: fix bitmask 2016-12-04 13:55:02 -05:00
comphy_core.c dm: core: Rename of_device_is_compatible() 2017-06-01 07:03:06 -06:00
comphy_cp110.c treewide: replace with error() with pr_err() 2017-10-04 11:59:44 -04:00
comphy_hpipe.h fix: phy: marvell: cp110: pcie: update analog parameters according to latest ETP 2017-05-09 13:38:18 +02:00
comphy_mux.c phy: marvell: add IGNORE COMPHY type 2017-05-09 13:38:18 +02:00
Kconfig drivers/phy: Add Marvell SerDes / PHY drivers used on Armada 3k 2016-09-27 17:29:53 +02:00
Makefile drivers/phy: Add Marvell SerDes / PHY drivers used on Armada 7K/8K 2016-09-27 17:29:54 +02:00
sata.h drivers/phy: Add Marvell SerDes / PHY drivers used on Armada 7K/8K 2016-09-27 17:29:54 +02:00
utmi_phy.h drivers/phy: Add Marvell SerDes / PHY drivers used on Armada 7K/8K 2016-09-27 17:29:54 +02:00