u-boot-brain/arch/arm/mach-omap2/am33xx
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
..
board.c treewide: replace with error() with pr_err() 2017-10-04 11:59:44 -04:00
chilisom.c ARM: am335x: Add support for chiliSOM 2017-01-28 14:04:36 -05:00
clk_synthesizer.c arm: Introduce arch/arm/mach-omap2 for OMAP2 derivative platforms 2016-11-21 14:07:29 -05:00
clock_am33xx.c arm: am33xx: Add support for mulitiple PLL input frequencies 2017-05-12 08:37:14 -04:00
clock_am43xx.c arm: Introduce arch/arm/mach-omap2 for OMAP2 derivative platforms 2016-11-21 14:07:29 -05:00
clock_ti814x.c arm: Introduce arch/arm/mach-omap2 for OMAP2 derivative platforms 2016-11-21 14:07:29 -05:00
clock_ti816x.c ARM: ti816x: Fix enabling GPIO0, enable GPIO1 as well 2017-07-11 22:41:56 -04:00
clock.c arm: Introduce arch/arm/mach-omap2 for OMAP2 derivative platforms 2016-11-21 14:07:29 -05:00
ddr.c ti816x: Rework DDR initialization sequence 2017-06-05 11:02:23 -04:00
emif4.c ti816x: Rework DDR initialization sequence 2017-06-05 11:02:23 -04:00
fdt.c arm: mach-omap2: am33xx: Add FDT fixup suport for AM33xx/AM43xx boards 2017-07-22 22:22:44 -04:00
hw_data.c arm: omap: Unify get_device_type() function 2017-06-09 20:34:53 -04:00
Kconfig Convert CONFIG_CMD_SPL to Kconfig 2017-08-11 15:41:57 -04:00
Makefile arm: mach-omap2: am33xx: Add FDT fixup suport for AM33xx/AM43xx boards 2017-07-22 22:22:44 -04:00
mux.c arm: am33xx: Make pin multiplexing functions optional 2017-09-22 07:40:04 -04:00
prcm-regs.c arm: omap: Unify get_device_type() function 2017-06-09 20:34:53 -04:00
sys_info.c arm: omap: Unify get_device_type() function 2017-06-09 20:34:53 -04:00
ti816x_emif4.c ti816x: Rework DDR initialization sequence 2017-06-05 11:02:23 -04:00