u-boot/drivers/sysreset
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
..
Kconfig dm: sysreset: add watchdog-reboot driver 2017-05-31 14:49:54 +02:00
Makefile rockchip: enable rk322x sysreset driver 2017-09-18 20:40:32 +02:00
sysreset-uclass.c drivers/sysreset: group sysreset drivers 2016-08-12 09:22:17 -04:00
sysreset_ast.c aspeed: Refactor AST2500 RAM Driver and Sysreset Driver 2017-05-08 11:57:32 -04:00
sysreset_psci.c dm: Fix up inclusion of common.h 2017-06-01 07:03:03 -06:00
sysreset_rk322x.c rockchip: rk322x: add sysreset driver 2017-07-11 12:13:46 +02:00
sysreset_rk3036.c drivers/sysreset: group sysreset drivers 2016-08-12 09:22:17 -04:00
sysreset_rk3188.c rockchip: sysreset: rk3188: Make sure remap is off on warm-resets 2017-04-15 10:13:17 -06:00
sysreset_rk3288.c drivers/sysreset: group sysreset drivers 2016-08-12 09:22:17 -04:00
sysreset_rk3328.c rockchip: rk3328: add sysreset driver 2017-03-16 16:03:46 -06:00
sysreset_rk3368.c rockchip: rk3368: Add sysreset driver 2017-06-07 07:29:20 -06:00
sysreset_rk3399.c drivers/sysreset: group sysreset drivers 2016-08-12 09:22:17 -04:00
sysreset_rv1108.c rockchip: Add core Soc start-up code for rv1108 2017-06-07 07:29:25 -06:00
sysreset_sandbox.c dm: sandbox: sysreset: Convert driver to livetree 2017-06-01 07:03:17 -06:00
sysreset_snapdragon.c dm: Rename dev_addr..() functions 2017-06-01 07:03:01 -06:00
sysreset_sti.c treewide: replace with error() with pr_err() 2017-10-04 11:59:44 -04:00
sysreset_syscon.c treewide: replace with error() with pr_err() 2017-10-04 11:59:44 -04:00
sysreset_watchdog.c treewide: replace with error() with pr_err() 2017-10-04 11:59:44 -04:00
sysreset_xtfpga.c xtensa: add support for the 'xtfpga' evaluation board 2016-08-15 18:46:40 -04:00