u-boot/drivers/reset
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
..
ast2500-reset.c aspeed: Reset Driver 2017-05-08 11:57:32 -04:00
Kconfig dm: reset: add stm32 reset driver 2017-09-22 07:40:01 -04:00
Makefile dm: reset: add stm32 reset driver 2017-09-22 07:40:01 -04:00
reset-bcm6345.c dm: Rename dev_addr..() functions 2017-06-01 07:03:01 -06:00
reset-uclass.c reset: add reset_release_all() 2017-07-28 23:34:07 +02:00
reset-uniphier.c reset: uniphier: add PXs3 support 2017-08-30 09:07:04 +09:00
sandbox-reset-test.c reset: implement a reset test 2016-06-19 17:05:55 -06:00
sandbox-reset.c reset: implement a reset test 2016-06-19 17:05:55 -06:00
sti-reset.c treewide: replace with error() with pr_err() 2017-10-04 11:59:44 -04:00
stm32-reset.c dm: reset: add stm32 reset driver 2017-09-22 07:40:01 -04:00
tegra-car-reset.c reset: implement a driver for the Tegra CAR 2016-09-27 09:11:02 -07:00
tegra186-reset.c reset: add Tegra186 reset driver 2016-08-15 10:26:13 -07:00