All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 00/16] dm: Remove redefinitions of dev_xxx macros
@ 2020-10-05  1:39 Sean Anderson
  2020-10-05  1:39 ` [PATCH 01/16] clk: sifive: Include device_compat.h Sean Anderson
                   ` (16 more replies)
  0 siblings, 17 replies; 47+ messages in thread
From: Sean Anderson @ 2020-10-05  1:39 UTC (permalink / raw)
  To: u-boot

dev_xxx is now defined to something other than debug, so its redefinition in
linux/compat.h is problematic. This series mostly adds includes for
dm/device_compat.h, if only linux/compat.h had previously been included. Some
patches also fix remaining cases where dev_xxx had been called without a device.
I have re-ordered includes to conform to [1]. CI is available at [2]. There's
one failure, but it appears to be because fetching the docker file timed out. A
passing run for that job is available at [3].

[1] https://www.denx.de/wiki/U-Boot/CodingStyle#Include_files
[2] https://dev.azure.com/seanga2/u-boot/_build/results?buildId=47&view=results
[3] https://dev.azure.com/seanga2/u-boot/_build/results?buildId=46&view=logs&j=a6c8f4b8-aab0-5875-641a-f1020f283ec1


Sean Anderson (16):
  clk: sifive: Include device_compat.h
  dm: syscon: Set LOG_CATEGORY
  firmware: scmi: Include device_compat.h
  mtd: mxs_nand: Fix not calling dev_xxx with a device
  net: ldpaa_eth: Include device_compat.h
  phy: Include device_compat.h
  ram: imxrt: Include device_compat.h
  spi: nsp_fspi: Include device_compat.h
  spi: fsl_qspi: Include device_compat.h
  tee: optee: Include device_compat.h
  timer: Include device_compat.h
  usb: xhci: Include device_compat.h
  usb: musb-new: Include device_compat.h
  usb: musb-new: mt85xx: Fix not calling dev_err with a device
  linux/compat.h: Remove redefinition of dev_xxx macros
  dm: Don't undefine dev_xxx macros

 drivers/clk/sifive/fu540-prci.c           | 18 +++++++-------
 drivers/core/syscon-uclass.c              |  2 ++
 drivers/firmware/scmi/mailbox_agent.c     |  1 +
 drivers/firmware/scmi/scmi_agent-uclass.c |  1 +
 drivers/firmware/scmi/smt.c               |  1 +
 drivers/mtd/nand/raw/mxs_nand.c           | 30 ++++++++++++-----------
 drivers/net/ldpaa_eth/ldpaa_eth.c         | 16 ++++++------
 drivers/phy/phy-uclass.c                  |  2 +-
 drivers/ram/imxrt_sdram.c                 |  1 +
 drivers/spi/fsl_qspi.c                    |  9 ++++---
 drivers/spi/nxp_fspi.c                    |  7 +++---
 drivers/tee/optee/core.c                  |  1 +
 drivers/timer/timer-uclass.c              |  5 ++--
 drivers/usb/host/xhci-mtk.c               |  5 ++--
 drivers/usb/host/xhci.c                   |  7 +++---
 drivers/usb/musb-new/mt85xx.c             |  7 +++---
 drivers/usb/musb-new/musb_core.c          |  2 ++
 drivers/usb/musb-new/musb_dsps.c          |  2 ++
 drivers/usb/musb-new/musb_gadget.c        |  2 ++
 drivers/usb/musb-new/musb_gadget_ep0.c    |  4 ++-
 drivers/usb/musb-new/musb_host.c          |  2 ++
 include/dm/device_compat.h                | 20 ---------------
 include/linux/compat.h                    | 28 ---------------------
 23 files changed, 75 insertions(+), 98 deletions(-)

-- 
2.28.0

^ permalink raw reply	[flat|nested] 47+ messages in thread

end of thread, other threads:[~2020-10-16 14:10 UTC | newest]

Thread overview: 47+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-10-05  1:39 [PATCH 00/16] dm: Remove redefinitions of dev_xxx macros Sean Anderson
2020-10-05  1:39 ` [PATCH 01/16] clk: sifive: Include device_compat.h Sean Anderson
2020-10-16 13:54   ` Tom Rini
2020-10-05  1:39 ` [PATCH 02/16] dm: syscon: Set LOG_CATEGORY Sean Anderson
2020-10-12  3:34   ` Simon Glass
2020-10-16 13:54   ` Tom Rini
2020-10-05  1:39 ` [PATCH 03/16] firmware: scmi: Include device_compat.h Sean Anderson
2020-10-12  3:34   ` Simon Glass
2020-10-16 13:54   ` Tom Rini
2020-10-05  1:39 ` [PATCH 04/16] mtd: mxs_nand: Fix not calling dev_xxx with a device Sean Anderson
2020-10-16 13:54   ` Tom Rini
2020-10-05  1:39 ` [PATCH 05/16] net: ldpaa_eth: Include device_compat.h Sean Anderson
2020-10-16 13:54   ` Tom Rini
2020-10-05  1:39 ` [PATCH 06/16] phy: " Sean Anderson
2020-10-16 13:54   ` Tom Rini
2020-10-05  1:39 ` [PATCH 07/16] ram: imxrt: " Sean Anderson
2020-10-16 13:54   ` Tom Rini
2020-10-05  1:39 ` [PATCH 08/16] spi: nsp_fspi: " Sean Anderson
2020-10-05 10:07   ` [EXT] " Kuldeep Singh
2020-10-16 13:55   ` [PATCH 08/16] spi: nxp_fspi: " Tom Rini
2020-10-05  1:39 ` [PATCH 09/16] spi: fsl_qspi: " Sean Anderson
2020-10-16 13:55   ` Tom Rini
2020-10-05  1:39 ` [PATCH 10/16] tee: optee: " Sean Anderson
2020-10-12  3:34   ` Simon Glass
2020-10-16 13:55   ` Tom Rini
2020-10-16 14:10   ` Igor Opaniuk
2020-10-05  1:39 ` [PATCH 11/16] timer: " Sean Anderson
2020-10-12  3:34   ` Simon Glass
2020-10-16 13:55   ` Tom Rini
2020-10-05  1:39 ` [PATCH 12/16] usb: xhci: " Sean Anderson
2020-10-16 13:55   ` Tom Rini
2020-10-05  1:39 ` [PATCH 13/16] usb: musb-new: " Sean Anderson
2020-10-16 13:55   ` Tom Rini
2020-10-05  1:39 ` [PATCH 14/16] usb: musb-new: mt85xx: Fix not calling dev_err with a device Sean Anderson
2020-10-16 13:55   ` Tom Rini
2020-10-05  1:39 ` [PATCH 15/16] linux/compat.h: Remove redefinition of dev_xxx macros Sean Anderson
2020-10-12  3:34   ` Simon Glass
2020-10-16 13:56   ` Tom Rini
2020-10-05  1:39 ` [PATCH 16/16] dm: Don't undefine " Sean Anderson
2020-10-12  3:34   ` Simon Glass
2020-10-16 13:56   ` Tom Rini
2020-10-16 12:42 ` [PATCH 1/3] arm: fsl-layerscape: Include device_compat.h in soc.c Tom Rini
2020-10-16 12:42   ` [PATCH 2/3] clk: at91: Include device_compat.h in compat.c Tom Rini
2020-10-16 13:56     ` Tom Rini
2020-10-16 12:42   ` [PATCH 3/3] usb: dwc3: Include device_compat.h in dwc3-octeon-glue.c Tom Rini
2020-10-16 13:56     ` Tom Rini
2020-10-16 13:56   ` [PATCH 1/3] arm: fsl-layerscape: Include device_compat.h in soc.c Tom Rini

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.