u-boot-2016/drivers/clk
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
..
aspeed
at91 clk: at91: utmi: Set the reference clock frequency 2017-09-14 16:02:29 -04:00
exynos
renesas clk: rmobile: Split R8A7795 and R8A7796 core clock tables 2017-08-26 07:04:49 +09:00
rockchip treewide: replace with error() with pr_err() 2017-10-04 11:59:44 -04:00
tegra
uniphier clk: uniphier: add System clock support 2017-08-30 09:07:04 +09:00
clk-uclass.c dtoc: Put phandle args in an array 2017-09-15 05:27:48 -06:00
clk_bcm6345.c
clk_boston.c treewide: replace with error() with pr_err() 2017-10-04 11:59:44 -04:00
clk_fixed_rate.c
clk_pic32.c
clk_sandbox.c
clk_sandbox_test.c
clk_stm32f7.c treewide: replace with error() with pr_err() 2017-10-04 11:59:44 -04:00
clk_stm32h7.c treewide: replace with error() with pr_err() 2017-10-04 11:59:44 -04:00
clk_zynq.c
clk_zynqmp.c
Kconfig clk: Kconfig: Add dependences of SPL_CLK 2017-09-14 13:58:22 -04:00
Makefile dm: clk: add clk driver support for stm32h7 SoCs 2017-09-22 07:40:01 -04:00