u-boot-brain/drivers/power/pmic
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
..
act8846.c dm: pmic: Convert uclass to livetree 2017-06-01 07:03:12 -06:00
as3722_gpio.c treewide: replace with error() with pr_err() 2017-10-04 11:59:44 -04:00
as3722.c treewide: replace with error() with pr_err() 2017-10-04 11:59:44 -04:00
i2c_pmic_emul.c treewide: replace with error() with pr_err() 2017-10-04 11:59:44 -04:00
Kconfig power: pmic: lp87565: Add the basic pmic support 2017-06-09 20:25:16 +09:00
lp873x.c treewide: replace with error() with pr_err() 2017-10-04 11:59:44 -04:00
lp87565.c treewide: replace with error() with pr_err() 2017-10-04 11:59:44 -04:00
Makefile dm: power: Convert as3722 to driver model 2017-07-28 12:02:47 -06:00
max8997.c treewide: replace with error() with pr_err() 2017-10-04 11:59:44 -04:00
max8998.c treewide: replace with error() with pr_err() 2017-10-04 11:59:44 -04:00
max77686.c treewide: replace with error() with pr_err() 2017-10-04 11:59:44 -04:00
muic_max8997.c Add GPL-2.0+ SPDX-License-Identifier to source files 2013-07-24 09:44:38 -04:00
palmas.c treewide: replace with error() with pr_err() 2017-10-04 11:59:44 -04:00
pfuze100.c treewide: replace with error() with pr_err() 2017-10-04 11:59:44 -04:00
pm8916.c dm: gpio: power: Convert pm8916 drivers to livetree 2017-06-01 07:03:17 -06:00
pmic_hi6553.c power: change from meaningless value to error number 2017-01-11 19:40:14 +09:00
pmic_ltc3676.c power: Add support for LTC3676 PMIC 2014-05-09 14:38:23 +02:00
pmic_max8997.c power: change from meaningless value to error number 2017-01-11 19:40:14 +09:00
pmic_max8998.c Add GPL-2.0+ SPDX-License-Identifier to source files 2013-07-24 09:44:38 -04:00
pmic_max77686.c power: change from meaningless value to error number 2017-01-11 19:40:14 +09:00
pmic_max77696.c power: pmic: Add support for MAX77696 PMIC 2015-07-26 12:11:33 +02:00
pmic_mc34vr500.c pmic: pmic_mc34vr500: Add a driver for the mc34vr500 pmic 2017-01-18 09:28:53 -08:00
pmic_pfuze100.c Add missing part of: "power: pmic: pfuze100 support driver model" 2015-08-14 16:53:02 +02:00
pmic_pfuze3000.c power: pmic: add pfuze3000 support 2015-09-02 15:31:33 +02:00
pmic_tps62362.c treewide: replace #include <asm/errno.h> with <linux/errno.h> 2016-09-23 17:55:42 -04:00
pmic_tps65217.c drivers/power/pmic: Add tps65217 driver 2013-09-20 11:01:26 -04:00
pmic_tps65218.c power: pmic: tps65218: Add DCDC3 configuration 2017-06-09 20:25:16 +09:00
pmic_tps65910.c drivers/power/pmic: Add tps65910 driver 2013-09-20 11:01:26 -04:00
pmic-uclass.c dm: core: Add ofnode_for_each_subnode() 2017-09-11 21:43:58 -06:00
rk8xx.c rockchip: rk8xx: remove unused header includes 2017-09-18 20:40:35 +02:00
rn5t567.c power: pmic: add Ricoh RN5T567 PMIC support 2016-10-07 12:26:15 +02:00
s2mps11.c treewide: replace with error() with pr_err() 2017-10-04 11:59:44 -04:00
s5m8767.c treewide: replace with error() with pr_err() 2017-10-04 11:59:44 -04:00
sandbox.c treewide: replace with error() with pr_err() 2017-10-04 11:59:44 -04:00
tps65090.c treewide: replace with error() with pr_err() 2017-10-04 11:59:44 -04:00