[PATCH 04/12] treewide: Use OF_REAL instead of !OF_PLATDATA

Simon Glass sjg at chromium.org
Sun Sep 26 20:40:27 CEST 2021


Now that we have a 'positive' Kconfig option, use this instead of the
negative one, which is harder to understand.

Signed-off-by: Simon Glass <sjg at chromium.org>
---

 arch/arm/mach-rockchip/rk3399/syscon_rk3399.c |  2 +-
 arch/arm/mach-rockchip/rk3568/syscon_rk3568.c |  2 +-
 arch/x86/cpu/apollolake/hostbridge.c          |  4 ++--
 arch/x86/cpu/apollolake/lpc.c                 |  2 +-
 arch/x86/cpu/apollolake/pch.c                 |  2 +-
 arch/x86/cpu/apollolake/pmc.c                 |  4 ++--
 arch/x86/cpu/apollolake/uart.c                |  2 +-
 arch/x86/cpu/intel_common/itss.c              |  2 +-
 arch/x86/cpu/intel_common/p2sb.c              |  6 +++---
 arch/x86/lib/tpl.c                            |  2 +-
 board/google/chromebook_coral/coral.c         |  2 +-
 board/sandbox/sandbox.c                       |  5 ++++-
 doc/develop/driver-model/of-plat.rst          |  2 +-
 drivers/clk/clk_fixed_factor.c                |  2 +-
 drivers/clk/clk_fixed_rate.c                  |  2 +-
 drivers/clk/rockchip/clk_rk3188.c             |  2 +-
 drivers/clk/rockchip/clk_rk3288.c             |  2 +-
 drivers/clk/rockchip/clk_rk3368.c             |  2 +-
 drivers/clk/rockchip/clk_rk3399.c             |  4 ++--
 drivers/core/simple-bus.c                     |  2 +-
 drivers/core/syscon-uclass.c                  |  2 +-
 drivers/core/util.c                           |  2 +-
 drivers/gpio/gpio-uclass.c                    |  2 +-
 drivers/gpio/intel_gpio.c                     |  2 +-
 drivers/gpio/omap_gpio.c                      |  2 +-
 drivers/i2c/i2c-emul-uclass.c                 |  2 +-
 drivers/misc/cros_ec.c                        |  2 +-
 drivers/misc/p2sb-uclass.c                    |  2 +-
 drivers/mmc/fsl_esdhc_imx.c                   |  4 ++--
 drivers/mmc/ftsdc010_mci.c                    |  2 +-
 drivers/mmc/rockchip_dw_mmc.c                 |  2 +-
 drivers/mmc/rockchip_sdhci.c                  |  2 +-
 drivers/pinctrl/intel/pinctrl_apl.c           |  4 ++--
 drivers/pinctrl/nxp/pinctrl-mxs.c             |  2 +-
 drivers/pinctrl/pinctrl-uclass.c              |  2 +-
 drivers/pinctrl/rockchip/pinctrl-px30.c       |  2 +-
 drivers/pinctrl/rockchip/pinctrl-rk3036.c     |  2 +-
 drivers/pinctrl/rockchip/pinctrl-rk3128.c     |  2 +-
 drivers/pinctrl/rockchip/pinctrl-rk3188.c     |  2 +-
 drivers/pinctrl/rockchip/pinctrl-rk322x.c     |  2 +-
 drivers/pinctrl/rockchip/pinctrl-rk3288.c     |  2 +-
 drivers/pinctrl/rockchip/pinctrl-rk3308.c     |  2 +-
 drivers/pinctrl/rockchip/pinctrl-rk3328.c     |  2 +-
 drivers/pinctrl/rockchip/pinctrl-rk3368.c     |  2 +-
 drivers/pinctrl/rockchip/pinctrl-rk3399.c     |  2 +-
 drivers/pinctrl/rockchip/pinctrl-rv1108.c     |  2 +-
 drivers/ram/rockchip/dmc-rk3368.c             |  2 +-
 drivers/ram/rockchip/sdram_rk3188.c           |  2 +-
 drivers/ram/rockchip/sdram_rk322x.c           |  2 +-
 drivers/ram/rockchip/sdram_rk3288.c           |  2 +-
 drivers/ram/rockchip/sdram_rk3328.c           |  4 ++--
 drivers/ram/rockchip/sdram_rk3399.c           |  4 ++--
 drivers/rtc/rtc-uclass.c                      |  2 +-
 drivers/serial/sandbox.c                      |  2 +-
 drivers/serial/serial_mt7620.c                |  4 ++--
 drivers/spi/ich.c                             |  6 +++---
 drivers/spi/pl022_spi.c                       |  4 ++--
 drivers/spi/rk_spi.c                          |  2 +-
 drivers/spi/spi-uclass.c                      |  6 +++---
 drivers/sysreset/sysreset_sandbox.c           |  2 +-
 drivers/timer/rockchip_timer.c                |  4 ++--
 drivers/timer/timer-uclass.c                  |  4 ++--
 drivers/timer/tsc_timer.c                     |  2 +-
 include/dm/device.h                           | 10 +++++-----
 64 files changed, 88 insertions(+), 85 deletions(-)

Applied to u-boot-dm/next, thanks!


More information about the U-Boot mailing list