rv1126-uboot/drivers/video
Masahiro Yamada 90aa625c9a 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>

Change-Id: I921807c1770d36a91e692c48ab477558bb2ed0b8
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>
Signed-off-by: Kever Yang <kever.yang@rock-chips.com>
(cherry picked from commit 9b643e312d528f291966c1f30b0d90bf3b1d43dc)
2018-01-17 15:27:28 +08:00
..
bridge
drm drm/rockchip: dsi-panel: support power-supply 2017-11-29 16:20:19 +08:00
exynos
fonts
rockchip rockchip: video: Makefile: Add soc specific driver for rk3288 mipi dsi 2017-08-07 21:32:11 +02:00
sunxi
tegra124 dm: video: tegra124: Convert to livetree 2017-07-28 12:02:47 -06:00
Kconfig UPSTREAM: dm: backlight: Add a driver for GPIO backlight 2018-01-16 18:13:59 +08:00
Makefile UPSTREAM: dm: backlight: Add a driver for GPIO backlight 2018-01-16 18:13:59 +08:00
am335x-fb.c treewide: replace with error() with pr_err() 2018-01-17 15:27:28 +08:00
am335x-fb.h
anx9804.c
anx9804.h
ati_ids.h
ati_radeon_fb.c env: Rename getenv/_f() to env_get() 2017-08-16 08:30:24 -04:00
ati_radeon_fb.h
atmel_hlcdfb.c
atmel_lcdfb.c
backlight-uclass.c dm: backlight: add backlight_disable() interface 2017-10-31 16:13:17 +08:00
backlight_gpio.c UPSTREAM: dm: backlight: Add a driver for GPIO backlight 2018-01-16 18:13:59 +08:00
bcm2835.c
broadwell_igd.c
bus_vcxk.c
cfb_console.c env: Rename getenv/_f() to env_get() 2017-08-16 08:30:24 -04:00
console_normal.c
console_rotate.c
console_truetype.c
coreboot.c
da8xx-fb.c
da8xx-fb.h
display-uclass.c
dw_hdmi.c
formike.c
fsl_dcu_fb.c
fsl_diu_fb.c
hitachi_tx18d42vm_lcd.c
hitachi_tx18d42vm_lcd.h
i915_reg.h
ipu.h video: ipuv3_fb: skip IPU shutdown if IPU was not enabled before 2017-09-04 23:33:45 +02:00
ipu_common.c video: ipuv3_fb: skip IPU shutdown if IPU was not enabled before 2017-09-04 23:33:45 +02:00
ipu_disp.c
ipu_regs.h
ivybridge_igd.c
ld9040.c
lg4573.c
mb862xx.c env: Rename getenv/_f() to env_get() 2017-08-16 08:30:24 -04:00
mvebu_lcd.c
mx3fb.c env: Rename getenv/_f() to env_get() 2017-08-16 08:30:24 -04:00
mxc_ipuv3_fb.c video: ipuv3_fb: skip IPU shutdown if IPU was not enabled before 2017-09-04 23:33:45 +02:00
mxcfb.h
mxsfb.c env: Rename getenv/_f() to env_get() 2017-08-16 08:30:24 -04:00
omap3_dss.c
panel-uclass.c
pwm_backlight.c video: pwm backlight: add backlight_disable() implement 2017-10-31 16:13:17 +08:00
pxa_lcd.c
s6e8ax0.c
s6e63d6.c
sandbox_sdl.c
scf0403_lcd.c
simple_panel.c video: simple-panel: Add a little more debugging 2017-07-11 10:08:20 -06:00
ssd2828.c
ssd2828.h
stb_truetype.h
tegra.c
vesa.c
vidconsole-uclass.c UPSTREAM: dm: video: Fix cache flushes 2018-01-16 18:17:14 +08:00
video-uclass.c
video_bmp.c
videomodes.c env: Rename getenv/_f() to env_get() 2017-08-16 08:30:24 -04:00
videomodes.h